diff options
author | joerg <joerg> | 2013-11-04 16:41:43 +0000 |
---|---|---|
committer | joerg <joerg> | 2013-11-04 16:41:43 +0000 |
commit | c750f88b27e85eee3dd7f38134599d0c20d33f2e (patch) | |
tree | b5862f85db81293a45996db7690b2c95af4435e5 /archivers | |
parent | 059e67fd9698068af86a9c84ffe2c08c6822470d (diff) | |
download | pkgsrc-c750f88b27e85eee3dd7f38134599d0c20d33f2e.tar.gz |
Make guard variable used by the integrity check non-static, so that it
won't get dropped as unused.
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/arj/Makefile | 7 | ||||
-rw-r--r-- | archivers/arj/distinfo | 3 | ||||
-rw-r--r-- | archivers/arj/patches/patch-integr.c | 13 |
3 files changed, 18 insertions, 5 deletions
diff --git a/archivers/arj/Makefile b/archivers/arj/Makefile index 045b8f4780b..ca256c05337 100644 --- a/archivers/arj/Makefile +++ b/archivers/arj/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2012/09/11 19:46:52 asau Exp $ +# $NetBSD: Makefile,v 1.27 2013/11/04 16:41:43 joerg Exp $ DISTNAME= arj-3.10.22 CATEGORIES= archivers @@ -24,9 +24,8 @@ ARJ_DOCSDIR= ${PREFIX}/share/doc/arj .include "../../mk/compiler.mk" -.if !empty(CC_VERSION:Mgcc-4.*) -CFLAGS+= -fno-unit-at-a-time -.endif +_WRAP_EXTRA_ARGS.CC+= -g -O0 +BUILDLINK_TRANSFORM+= rm:-s pre-configure: ${CP} -f ${WRKSRC}/environ.c ${WRKSRC}/environ.c.1 diff --git a/archivers/arj/distinfo b/archivers/arj/distinfo index 48e6bd2ff65..7c5bbd9392e 100644 --- a/archivers/arj/distinfo +++ b/archivers/arj/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.14 2009/05/13 14:26:24 hasso Exp $ +$NetBSD: distinfo,v 1.15 2013/11/04 16:41:43 joerg Exp $ SHA1 (arj-3.10.22.tar.gz) = e8470f480e9eee14906e5485a8898e5c24738c8b RMD160 (arj-3.10.22.tar.gz) = 80f8a1a8cd203f73def8e957d96563a4dba80153 @@ -10,3 +10,4 @@ SHA1 (patch-ad) = 186b05ec694daa25504123690f9b7bba9f22a7f4 SHA1 (patch-ae) = 46181177d4a42b510a02ce8e138275dca453f1de SHA1 (patch-af) = c4e5a0dc8a2b42af471fd065ab28f162d94bd0b7 SHA1 (patch-ag) = ce4d0fefed6ccf7ab7fad864a7cb7faa36e4e4ac +SHA1 (patch-integr.c) = 8c3f9fd4db4d4b1323cceccd6cfa31dc09ab39af diff --git a/archivers/arj/patches/patch-integr.c b/archivers/arj/patches/patch-integr.c new file mode 100644 index 00000000000..fa27283fb2c --- /dev/null +++ b/archivers/arj/patches/patch-integr.c @@ -0,0 +1,13 @@ +$NetBSD: patch-integr.c,v 1.1 2013/11/04 16:41:43 joerg Exp $ + +--- integr.c.orig 2013-11-04 16:18:17.000000000 +0000 ++++ integr.c +@@ -5,7 +5,7 @@ + * + */ + +-static const char intergrity_identifier[] = { ++const char intergrity_identifier[] = { + 0xB0, 0x03, 0xB0, 0x02, 0xB0, 0x03, + 0xB0, 0x04, 0xB0, 0x05, + 0x90, 0x90, 0x90, 0x90, |