aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
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 19936aeec3e9..3decf4a0d063 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 000000000000..28e3dfb3e45d
--- /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
+