summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-04-07 10:04:55 +0000
committerMike Frysinger <vapier@gentoo.org>2007-04-07 10:04:55 +0000
commit407f9f9a79731b9e9930ae2ba0c356c79b11e6f4 (patch)
tree0cd11108be80fc28b47e9cd1711b4568b9d1a9a2 /sys-apps/file/files
parentmips stable (diff)
downloadgentoo-2-407f9f9a79731b9e9930ae2ba0c356c79b11e6f4.tar.gz
gentoo-2-407f9f9a79731b9e9930ae2ba0c356c79b11e6f4.tar.bz2
gentoo-2-407f9f9a79731b9e9930ae2ba0c356c79b11e6f4.zip
Workaround from upstream for crappy regex handling in newer glibcs #173368.
(Portage version: 2.1.2.3)
Diffstat (limited to 'sys-apps/file/files')
-rw-r--r--sys-apps/file/files/digest-file-4.20-r16
-rw-r--r--sys-apps/file/files/file-4.20-disable-regex.patch16
2 files changed, 22 insertions, 0 deletions
diff --git a/sys-apps/file/files/digest-file-4.20-r1 b/sys-apps/file/files/digest-file-4.20-r1
new file mode 100644
index 000000000000..8ecf19e146e2
--- /dev/null
+++ b/sys-apps/file/files/digest-file-4.20-r1
@@ -0,0 +1,6 @@
+MD5 402bdb26356791bd5d277099adacc006 file-4.20.tar.gz 548393
+RMD160 ff4f1a677a6377df3d7925ab4e36fec71dd3ebe7 file-4.20.tar.gz 548393
+SHA256 c0810fb3ddb6cb73c9ff045965e542af6e3eaa7f2995b3037181766d26d5e6e7 file-4.20.tar.gz 548393
+MD5 119b5fd6c60eede06ef909aa13fd65d2 patch-4.20-REG_STARTEND 1119
+RMD160 30ca934188bafe6fbe3967c1aee980bd7710b0b1 patch-4.20-REG_STARTEND 1119
+SHA256 add836395ad07c2b60697eb5f9b24a2dbf26746c7b4b18330afe4ca147b759e2 patch-4.20-REG_STARTEND 1119
diff --git a/sys-apps/file/files/file-4.20-disable-regex.patch b/sys-apps/file/files/file-4.20-disable-regex.patch
new file mode 100644
index 000000000000..61ff5501c26e
--- /dev/null
+++ b/sys-apps/file/files/file-4.20-disable-regex.patch
@@ -0,0 +1,16 @@
+http://mx.gw.com/pipermail/file/2007/000172.html
+http://bugs.gentoo.org/173368
+
+--- magic/Magdir/msdos
++++ magic/Magdir/msdos
+@@ -14,8 +14,8 @@
+
+ # OS/2 batch files are REXX. the second regex is a bit generic, oh well
+ # the matched commands seem to be common in REXX and uncommon elsewhere
+-100 regex/c =^\\s*call\\s+rxfuncadd.*sysloadfu OS/2 REXX batch file text
+-100 regex/c =^\\s*say\ ['"] OS/2 REXX batch file text
++# 100 regex/c =^\\s*call\\s+rxfuncadd.*sysloadfu OS/2 REXX batch file text
++# 100 regex/c =^\\s*say\ ['"] OS/2 REXX batch file text
+
+ 0 leshort 0x14c MS Windows COFF Intel 80386 object file
+ #>4 ledate x stamp %s