summaryrefslogtreecommitdiff
path: root/package/rpm/rpm-5.1.6_magic-file-fix.patch
diff options
context:
space:
mode:
authorNigel Kukard <nkukard@lbsd.net>2008-12-31 18:12:22 +0000
committerNigel Kukard <nkukard@lbsd.net>2008-12-31 18:12:22 +0000
commita36ca7a8c5ebc54fee2672b8e0c378c03089daa7 (patch)
treecf3a832305a1a5b1f0bf59f0b125e92909093e05 /package/rpm/rpm-5.1.6_magic-file-fix.patch
parentd31f42fe346976fd265b3bef1c68e6020ac2a2b0 (diff)
* Bump rpm to 5.1.6
- Remove patches comitted upstream - Exclude tools we don't need - Fix bundled magic mime data
Diffstat (limited to 'package/rpm/rpm-5.1.6_magic-file-fix.patch')
-rwxr-xr-xpackage/rpm/rpm-5.1.6_magic-file-fix.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/package/rpm/rpm-5.1.6_magic-file-fix.patch b/package/rpm/rpm-5.1.6_magic-file-fix.patch
new file mode 100755
index 000000000..da0944571
--- /dev/null
+++ b/package/rpm/rpm-5.1.6_magic-file-fix.patch
@@ -0,0 +1,40 @@
+diff -u --new-file --recursive rpm-5.1.6_vanilla/file/magic/Magdir/audio rpm-5.1.6_magic-file-fix/file/magic/Magdir/audio
+--- rpm-5.1.6_vanilla/file/magic/Magdir/audio 2007-05-31 02:19:30.000000000 +0000
++++ rpm-5.1.6_magic-file-fix/file/magic/Magdir/audio 2008-11-29 15:45:32.000000000 +0000
+@@ -208,7 +208,7 @@
+ >22 belong&0x00ffffff x %d Hz,
+ >18 beshort =0 no loop,
+ >18 beshort =-1 loop,
+->21 ubyte <=127 note %d,
++>21 ubyte <128 note %d,
+ >22 byte =0 replay 5.485 KHz
+ >22 byte =1 replay 8.084 KHz
+ >22 byte =2 replay 10.971 Khz
+diff -u --new-file --recursive rpm-5.1.6_vanilla/file/magic/Magdir/freebsd rpm-5.1.6_magic-file-fix/file/magic/Magdir/freebsd
+--- rpm-5.1.6_vanilla/file/magic/Magdir/freebsd 2003-04-15 16:58:35.000000000 +0000
++++ rpm-5.1.6_magic-file-fix/file/magic/Magdir/freebsd 2008-11-29 15:45:32.000000000 +0000
+@@ -128,10 +128,10 @@
+ # What are you laughing about?
+ 0 lelong 011421044151 ld.so hints file (Little Endian
+ >4 lelong >0 \b, version %d)
+->4 belong <=0 \b)
++>4 belong <1 \b)
+ 0 belong 011421044151 ld.so hints file (Big Endian
+ >4 belong >0 \b, version %d)
+->4 belong <=0 \b)
++>4 belong <1 \b)
+
+ #
+ # Files generated by FreeBSD scrshot(1)/vidcontrol(1) utilities
+diff -u --new-file --recursive rpm-5.1.6_vanilla/file/magic/Magdir/linux rpm-5.1.6_magic-file-fix/file/magic/Magdir/linux
+--- rpm-5.1.6_vanilla/file/magic/Magdir/linux 2007-05-31 02:19:30.000000000 +0000
++++ rpm-5.1.6_magic-file-fix/file/magic/Magdir/linux 2008-11-29 15:45:32.000000000 +0000
+@@ -84,7 +84,7 @@
+ # Linux kernel boot images (i386 arch) (Wolfram Kleff)
+ 514 string HdrS Linux kernel
+ >510 leshort 0xAA55 x86 boot executable
+->>518 leshort >=0x200
++>>518 leshort >0x1ff
+ >>529 byte 0 zImage,
+ >>>529 byte 1 bzImage,
+ >>>(526.s+0x200) string >\0 version %s,