aboutsummaryrefslogtreecommitdiff
path: root/repos/core/zlib-ng/no-weird-ver.patch
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2025-04-10 07:26:30 +0800
committeremmett1 <emmett1.2miligrams@protonmail.com>2025-04-10 07:26:30 +0800
commita64930636462bf24118ca7266f699ce2b696e821 (patch)
tree58d116ac5f03aa9e84ece6e4ffa6b489573042a4 /repos/core/zlib-ng/no-weird-ver.patch
parentddd8e1a8fab2ac39396282a7c09ddf6eca219613 (diff)
downloadalicelinux-a64930636462bf24118ca7266f699ce2b696e821.tar.gz
alicelinux-a64930636462bf24118ca7266f699ce2b696e821.zip
clang branch updated
Diffstat (limited to 'repos/core/zlib-ng/no-weird-ver.patch')
-rwxr-xr-xrepos/core/zlib-ng/no-weird-ver.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/repos/core/zlib-ng/no-weird-ver.patch b/repos/core/zlib-ng/no-weird-ver.patch
new file mode 100755
index 00000000..a7a89019
--- /dev/null
+++ b/repos/core/zlib-ng/no-weird-ver.patch
@@ -0,0 +1,11 @@
+--- a/configure
++++ b/configure
+@@ -290,7 +290,7 @@ if test $compat -eq 0; then
+ VER2=$(sed -n -e '/ZLIBNG_VERSION "/s/.*"\([0-9]*\.[0-9]*\)\..*/\1/p' < ${SRCDIR}/zlib-ng.h.in)
+ VER1=$(sed -n -e '/ZLIBNG_VERSION "/s/.*"\([0-9]*\)\..*/\1/p' < ${SRCDIR}/zlib-ng.h.in)
+ else
+- VER=$(sed -n -e '/ZLIB_VERSION "/s/.*"\(.*\)".*/\1/p' < ${SRCDIR}/zlib.h.in)
++ VER=$(sed -n -e '/ZLIB_VERSION "/s/.*"\(.*\).zlib-ng".*/\1/p' < ${SRCDIR}/zlib.h.in)
+ VER3=$(sed -n -e '/ZLIB_VERSION "/s/.*"\([0-9]*\.[0-9]*\.[0-9]*\).*/\1/p' < ${SRCDIR}/zlib.h.in)
+ VER2=$(sed -n -e '/ZLIB_VERSION "/s/.*"\([0-9]*\.[0-9]*\)\..*/\1/p' < ${SRCDIR}/zlib.h.in)
+ VER1=$(sed -n -e '/ZLIB_VERSION "/s/.*"\([0-9]*\)\..*/\1/p' < ${SRCDIR}/zlib.h.in)