pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/dar Add patch to check the gettext implement...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0733c84b81e7
branches:  trunk
changeset: 499022:0733c84b81e7
user:      reed <reed%pkgsrc.org@localhost>
date:      Wed Sep 07 18:17:22 2005 +0000

description:
Add patch to check the gettext implementation correctly --
so it  doesn't build with its own libintl.

The error was: error: too many arguments to function `const
char* _nl_expand_alias()'

Include devel/gettext-lib/buildlink3.mk.

Bump PKGREVISION.

This is for PR 30993.

diffstat:

 archivers/dar/Makefile         |   4 +++-
 archivers/dar/distinfo         |   3 ++-
 archivers/dar/patches/patch-ac |  11 +++++++++++
 3 files changed, 16 insertions(+), 2 deletions(-)

diffs (47 lines):

diff -r a51341c4b3c2 -r 0733c84b81e7 archivers/dar/Makefile
--- a/archivers/dar/Makefile    Wed Sep 07 17:46:28 2005 +0000
+++ b/archivers/dar/Makefile    Wed Sep 07 18:17:22 2005 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2005/07/14 13:47:55 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2005/09/07 18:17:22 reed Exp $
 
 DISTNAME=      dar-2.2.2
+PKGREVISION=   1
 CATEGORIES=    archivers sysutils
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=dar/}
 
@@ -22,5 +23,6 @@
 CONFIGURE_ARGS+=       --disable-upx
 
 .include "../../archivers/bzip2/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r a51341c4b3c2 -r 0733c84b81e7 archivers/dar/distinfo
--- a/archivers/dar/distinfo    Wed Sep 07 17:46:28 2005 +0000
+++ b/archivers/dar/distinfo    Wed Sep 07 18:17:22 2005 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.8 2005/06/29 07:38:40 martti Exp $
+$NetBSD: distinfo,v 1.9 2005/09/07 18:17:22 reed Exp $
 
 SHA1 (dar-2.2.2.tar.gz) = b362ad3e192c7239a13a314d0f4750bc080b62d8
 RMD160 (dar-2.2.2.tar.gz) = 79dc8ac63d52af64774d982a388027f60707b48e
 Size (dar-2.2.2.tar.gz) = 1067171 bytes
 SHA1 (patch-aa) = 6f07f2bf85194cdad58d99c7cafd85e3b2c06031
 SHA1 (patch-ab) = 1d8fb3bcd9c0d6a07cb6413d0b94453264f3d499
+SHA1 (patch-ac) = 8d81a4e33942d36381a8b7c4d4a454b39988fc94
diff -r a51341c4b3c2 -r 0733c84b81e7 archivers/dar/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/dar/patches/patch-ac    Wed Sep 07 18:17:22 2005 +0000
@@ -0,0 +1,11 @@
+--- configure.orig     2005-08-19 22:50:34.000000000 -0700
++++ configure  2005-08-19 22:51:48.000000000 -0700
+@@ -10320,7 +10320,7 @@
+ main ()
+ {
+ bindtextdomain ("", "");
+-return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
++return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ()
+   ;
+   return 0;
+ }



Home | Main Index | Thread Index | Old Index