Date: Sat, 14 May 2005 08:47:03 +0200 From: "Kay Lehmann" <kay_lehmann@web.de> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Cc: ebrandi@fugspbr.org Subject: ports/81003: [Update port] sysutils/dar: include gettext-header if compiled with gettext (needed for kdar) Message-ID: <1116053223.0@bippes.finkenkrug.ev> Resent-Message-ID: <200505140650.j4E6o2V5074585@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 81003 >Category: ports >Synopsis: [Update port] sysutils/dar: include gettext-header if compiled with gettext (needed for kdar) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat May 14 06:50:01 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Kay Lehmann >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD 5.4-STABLE #10: Wed May 11 20:22:43 CEST 2005 root@bippes.finkenkrug.ev:/usr/obj/usr/src/sys/bippes >Description: Headers of dar use some functions of gettext without including the necessary header libintl.h. This prevents kdar from getting compiled. >How-To-Repeat: >Fix: --- dar.patch begins here --- diff -urN dar.orig/Makefile dar/Makefile --- dar.orig/Makefile Sat May 14 08:36:00 2005 +++ dar/Makefile Sat May 14 08:35:48 2005 @@ -21,6 +21,7 @@ .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 -urN dar.orig/files/extra-patch-src::libdar::integers.hpp dar/files/extra-patch-src::libdar::integers.hpp --- dar.orig/files/extra-patch-src::libdar::integers.hpp Thu Jan 1 01:00:00 1970 +++ dar/files/extra-patch-src::libdar::integers.hpp Sat May 14 08:35:48 2005 @@ -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 + --- dar.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1116053223.0>