summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-11-04 16:41:43 +0000
committerjoerg <joerg@pkgsrc.org>2013-11-04 16:41:43 +0000
commit329d58ca805bef29c6ec9bbd1d1e19f4b00f40b7 (patch)
treeb5862f85db81293a45996db7690b2c95af4435e5 /archivers
parentc74264777fd80604e941a4a5585af6c3d47a00a2 (diff)
downloadpkgsrc-329d58ca805bef29c6ec9bbd1d1e19f4b00f40b7.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/Makefile7
-rw-r--r--archivers/arj/distinfo3
-rw-r--r--archivers/arj/patches/patch-integr.c13
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,