diff options
author | pav <pav@FreeBSD.org> | 2005-05-18 15:54:36 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-05-18 15:54:36 +0800 |
commit | fe7d1b0a94c44370b2e5f2bbfec0b626e47cd784 (patch) | |
tree | 02a368406c56c3724fb12a4b046006d0bb091be0 /sysutils/dar | |
parent | 12d0a452594d43fd6f81337e8d3bc0206edb4ca4 (diff) | |
download | freebsd-ports-gnome-fe7d1b0a94c44370b2e5f2bbfec0b626e47cd784.tar.gz freebsd-ports-gnome-fe7d1b0a94c44370b2e5f2bbfec0b626e47cd784.tar.zst freebsd-ports-gnome-fe7d1b0a94c44370b2e5f2bbfec0b626e47cd784.zip |
- 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/dar')
-rw-r--r-- | sysutils/dar/Makefile | 2 | ||||
-rw-r--r-- | sysutils/dar/files/extra-patch-src-libdar-integers.hpp | 10 |
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 + |