pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/arj Make guard variable used by the integrit...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d3ce7d7f49ce
branches:  trunk
changeset: 626212:d3ce7d7f49ce
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Nov 04 16:41:43 2013 +0000

description:
Make guard variable used by the integrity check non-static, so that it
won't get dropped as unused.

diffstat:

 archivers/arj/Makefile               |   7 +++----
 archivers/arj/distinfo               |   3 ++-
 archivers/arj/patches/patch-integr.c |  13 +++++++++++++
 3 files changed, 18 insertions(+), 5 deletions(-)

diffs (52 lines):

diff -r dcb9691464e6 -r d3ce7d7f49ce archivers/arj/Makefile
--- a/archivers/arj/Makefile    Mon Nov 04 16:41:16 2013 +0000
+++ b/archivers/arj/Makefile    Mon Nov 04 16:41:43 2013 +0000
@@ -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 @@
 
 .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 -r dcb9691464e6 -r d3ce7d7f49ce archivers/arj/distinfo
--- a/archivers/arj/distinfo    Mon Nov 04 16:41:16 2013 +0000
+++ b/archivers/arj/distinfo    Mon Nov 04 16:41:43 2013 +0000
@@ -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-ae) = 46181177d4a42b510a02ce8e138275dca453f1de
 SHA1 (patch-af) = c4e5a0dc8a2b42af471fd065ab28f162d94bd0b7
 SHA1 (patch-ag) = ce4d0fefed6ccf7ab7fad864a7cb7faa36e4e4ac
+SHA1 (patch-integr.c) = 8c3f9fd4db4d4b1323cceccd6cfa31dc09ab39af
diff -r dcb9691464e6 -r d3ce7d7f49ce archivers/arj/patches/patch-integr.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/arj/patches/patch-integr.c      Mon Nov 04 16:41:43 2013 +0000
@@ -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,



Home | Main Index | Thread Index | Old Index