1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

- 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)
This commit is contained in:
Pav Lucistnik 2005-05-18 07:54:36 +00:00
parent 243f8f87e1
commit 1f10716342
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=135536
2 changed files with 12 additions and 0 deletions

View File

@ -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}

View File

@ -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