summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2004-11-02 22:58:44 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2004-11-02 22:58:44 +0000
commitc1afd5180cf52210fe1b79987a75515f384ab4cf (patch)
tree83bc7eba5e532104772c11cbc147b12846f9e421 /archivers
parentMaintainer update (diff)
Fix -O2 build. If declared static, integrity_identifier is optimized out
since it isn't referenced, so postproc can't find it and the build bombs.
Notes
Notes: svn path=/head/; revision=120669
Diffstat (limited to 'archivers')
-rw-r--r--archivers/arj/files/patch-integr.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/archivers/arj/files/patch-integr.c b/archivers/arj/files/patch-integr.c
new file mode 100644
index 000000000000..a260af4d008e
--- /dev/null
+++ b/archivers/arj/files/patch-integr.c
@@ -0,0 +1,11 @@
+--- integr.c.orig Thu Mar 28 01:03:00 2002
++++ integr.c Tue Nov 2 23:53:18 2004
+@@ -5,7 +5,7 @@
+ *
+ */
+
+-static char intergrity_identifier[]={0xB0, 0x03, 0xB0, 0x02, 0xB0, 0x03,
++char intergrity_identifier[]={0xB0, 0x03, 0xB0, 0x02, 0xB0, 0x03,
+ 0xB0, 0x04, 0xB0, 0x05,
+ 0x90, 0x90, 0x90, 0x90,
+ 0x90, 0x90, 0x90, 0x90,