ports/81003: [Update port] sysutils/dar: include gettext-header if compiled with gettext (needed for kdar)
Kay Lehmann
kay_lehmann at web.de
Sat May 14 06:50:03 UTC 2005
>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 at 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:
More information about the freebsd-ports-bugs
mailing list