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:
parent
243f8f87e1
commit
1f10716342
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=135536
@ -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}
|
||||
|
10
sysutils/dar/files/extra-patch-src-libdar-integers.hpp
Normal file
10
sysutils/dar/files/extra-patch-src-libdar-integers.hpp
Normal 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
|
||||
|
Loading…
Reference in New Issue
Block a user