From 5d5247a8817b204cfd33877223ba49694153daab Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 8 Feb 2025 13:56:49 +0800 Subject: [PATCH] remove unused patches --- .../l/libsdl_gfx/patches/1.0.4/lrint_fix.patch | 13 ------------- .../l/libsdl_ttf/patches/2.20.1/cmakelists.patch | 15 --------------- 2 files changed, 28 deletions(-) delete mode 100644 packages/l/libsdl_gfx/patches/1.0.4/lrint_fix.patch delete mode 100644 packages/l/libsdl_ttf/patches/2.20.1/cmakelists.patch diff --git a/packages/l/libsdl_gfx/patches/1.0.4/lrint_fix.patch b/packages/l/libsdl_gfx/patches/1.0.4/lrint_fix.patch deleted file mode 100644 index 38dc8c0ff8e..00000000000 --- a/packages/l/libsdl_gfx/patches/1.0.4/lrint_fix.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/SDL2_gfxPrimitives.c b/SDL2_gfxPrimitives.c -index c6f7894..0ab6b22 100644 ---- a/SDL2_gfxPrimitives.c -+++ b/SDL2_gfxPrimitives.c -@@ -1757,7 +1757,7 @@ int filledCircleRGBA(SDL_Renderer * renderer, Sint16 x, Sint16 y, Sint16 rad, Ui - /* ----- AA Ellipse */ - - /* Windows targets do not have lrint, so provide a local inline version */ --#if defined(_MSC_VER) -+#if defined(_MSC_VER) && _MSC_VER < 1928 - /* Detect 64bit and use intrinsic version */ - #ifdef _M_X64 - #include diff --git a/packages/l/libsdl_ttf/patches/2.20.1/cmakelists.patch b/packages/l/libsdl_ttf/patches/2.20.1/cmakelists.patch deleted file mode 100644 index 4251fd688b2..00000000000 --- a/packages/l/libsdl_ttf/patches/2.20.1/cmakelists.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 0aac377..94a44f4 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -348,8 +348,8 @@ if(SDL2TTF_INSTALL) - endif() - # Only install a SDL2_ttf.pc file in Release mode - install(CODE " -- file(COPY_FILE \"${CMAKE_CURRENT_BINARY_DIR}/SDL2_ttf-$.pc\" -- \"${CMAKE_CURRENT_BINARY_DIR}/SDL2_ttf.pc\" ONLY_IF_DIFFERENT) -+ file(COPY \"${CMAKE_CURRENT_BINARY_DIR}/SDL2_ttf-$.pc\" -+ DESTINATION \"${CMAKE_CURRENT_BINARY_DIR}/SDL2_ttf.pc\") - file(INSTALL DESTINATION \"\${CMAKE_INSTALL_PREFIX}/${PC_DESTDIR}\" - TYPE FILE - FILES \"${CMAKE_CURRENT_BINARY_DIR}/SDL2_ttf.pc\")" CONFIG Release)