summaryrefslogtreecommitdiff
path: root/packages/glibc/glibc-2.3.2/glibc23-version-sanity.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/glibc/glibc-2.3.2/glibc23-version-sanity.patch')
-rw-r--r--packages/glibc/glibc-2.3.2/glibc23-version-sanity.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/glibc/glibc-2.3.2/glibc23-version-sanity.patch b/packages/glibc/glibc-2.3.2/glibc23-version-sanity.patch
index e69de29bb2..39d72de726 100644
--- a/packages/glibc/glibc-2.3.2/glibc23-version-sanity.patch
+++ b/packages/glibc/glibc-2.3.2/glibc23-version-sanity.patch
@@ -0,0 +1,11 @@
+--- glibc-2.3.2/sysdeps/unix/sysv/linux/dl-osinfo.h.orig 2003-11-01 14:20:45.000000000 -0500
++++ glibc-2.3.2/sysdeps/unix/sysv/linux/dl-osinfo.h 2003-11-01 14:21:32.000000000 -0500
+@@ -91,7 +91,7 @@
+ version <<= 8; \
+ version |= here; \
+ \
+- if (*cp++ != '.') \
++ if (*cp++ != '.' || parts == 3) \
+ /* Another part following? */ \
+ break; \
+ } \