summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-05-18 07:54:36 +0000
committerpav <pav@FreeBSD.org>2005-05-18 07:54:36 +0000
commitfe7d1b0a94c44370b2e5f2bbfec0b626e47cd784 (patch)
tree02a368406c56c3724fb12a4b046006d0bb091be0 /sysutils
parent12d0a452594d43fd6f81337e8d3bc0206edb4ca4 (diff)
downloadFreeBSD-ports-fe7d1b0a94c44370b2e5f2bbfec0b626e47cd784.zip
FreeBSD-ports-fe7d1b0a94c44370b2e5f2bbfec0b626e47cd784.tar.gz
- Fix: Headers of dar use some functions of gettext without including the
necessary header libintl.h. This prevents kdar from getting compiled. PR: ports/81003 Submitted by: Kay Lehmann <kay_lehmann@web.de> Approved by: Edson Brandi <ebrandi@fugspbr.org> (maintainer)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/dar/Makefile2
-rw-r--r--sysutils/dar/files/extra-patch-src-libdar-integers.hpp10
2 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/dar/Makefile b/sysutils/dar/Makefile
index 19936ae..3decf4a 100644
--- a/sysutils/dar/Makefile
+++ b/sysutils/dar/Makefile
@@ -7,6 +7,7 @@
PORTNAME= dar
PORTVERSION= 2.2.0
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=${PORTNAME}
@@ -21,6 +22,7 @@ USE_REINPLACE= yes
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
+EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src-libdar-integers.hpp
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS+=--with-libintl-prefix=${PREFIX}
diff --git a/sysutils/dar/files/extra-patch-src-libdar-integers.hpp b/sysutils/dar/files/extra-patch-src-libdar-integers.hpp
new file mode 100644
index 0000000..28e3dfb
--- /dev/null
+++ b/sysutils/dar/files/extra-patch-src-libdar-integers.hpp
@@ -0,0 +1,10 @@
+--- src/libdar/integers.hpp.orig Sat Apr 16 11:38:51 2005
++++ src/libdar/integers.hpp Sat Apr 16 11:39:27 2005
+@@ -31,6 +31,7 @@
+ #define INTEGERS_HPP
+
+ #include "../my_config.h"
++#include <libintl.h>
+
+ #ifndef OS_BITS
+
OpenPOWER on IntegriCloud