mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
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.
This commit is contained in:
parent
f1c4651d85
commit
c1afd5180c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120669
11
archivers/arj/files/patch-integr.c
Normal file
11
archivers/arj/files/patch-integr.c
Normal file
@ -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,
|
Loading…
Reference in New Issue
Block a user