]> TLD Linux GIT Repositories - packages/mysql.git/commitdiff
- drop zlib patch, no longer needed
authorMarcin Krol <hawk@tld-linux.org>
Thu, 4 Apr 2024 16:21:56 +0000 (18:21 +0200)
committerMarcin Krol <hawk@tld-linux.org>
Thu, 4 Apr 2024 16:21:56 +0000 (18:21 +0200)
mysql.spec
zlib.patch [deleted file]

index e74ff7e455ae9215570692a5fa1874d3391fffc5..1b9905c95b0bbe964f532e9abbaeb70ea7158ed9 100644 (file)
@@ -52,7 +52,6 @@ Source13:     mysql-client.conf
 Source14:      my.cnf
 Patch0:                no_relative_paths.patch
 Patch1:                mysql-system-xxhash.patch
-Patch2:                zlib.patch
 
 Patch17:       mysql-5.7-sphinx.patch
 Patch18:       mysql-sphinx.patch
@@ -466,7 +465,6 @@ Ten pakiet zawiera standardowego demona MySQL NDB CPC.
 
 %patch0 -p1
 %patch1 -p1
-#%patch2 -p1
 
 %if %{with sphinx}
 # http://www.sphinxsearch.com/docs/manual-0.9.9.html#sphinxse-mysql51
diff --git a/zlib.patch b/zlib.patch
deleted file mode 100644 (file)
index f784f76..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
---- mysql-8.0.35/scripts/CMakeLists.txt        2023-10-12 13:45:01.000000000 +0200
-+++ mysql-8.0.35/scripts/CMakeLists.txt        2024-01-10 03:05:25.295287804 +0100
-@@ -315,10 +315,12 @@
-     FOREACH(lib ${TARGET_LIB_DEPENDS})
-       IF (lib MATCHES "^\\-l")
-         SET(${var} "${${var}} ${lib} ")
--      ELSEIF (lib MATCHES "^ext::")
-+      ELSEIF (lib MATCHES "^ext::" AND NOT lib MATCHES "^ext::zlib")
-         STRING(REGEX MATCH "ext::([a-z]+)" MATCH_LIB "${lib}")
-         SET(SYSTEM_LIB ${CMAKE_MATCH_1})
-         SET(${var} "${${var}} -l${SYSTEM_LIB} ")
-+      ELSEIF (lib MATCHES "^ext::zlib")
-+        SET(${var} "${${var}} -lz ")
-       ELSEIF (lib MATCHES "^\\-L")
-         # Search directory. Test on FreeBSD: -L/usr/local/lib -lunwind
-         SET(${var} "${${var}} ${lib} ")