buildroot/package/pdmenu/0001-autoconf-makeinfo.in-link-with-INTLLIBS-if-needed.patch
Brock Williams 6d0c1213a0 pdmenu: new package
Signed-off-by: Brock Williams <brock@cottonwoodcomputer.com>
[Thomas:
 - properly handle the NLS cases, by adding two patches
 - use sha256 locally calculated hash for the tarball, add hash for
   the license file
 - fix the license information: it's GPL-2.0 licensed, and the license
   file is doc/COPYING.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-08-30 23:20:28 +02:00

28 lines
986 B
Diff

From 319cc3859044214961164ed1f219f2f21ca965af Mon Sep 17 00:00:00 2001
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Date: Wed, 30 Aug 2017 23:04:37 +0200
Subject: [PATCH] autoconf/makeinfo.in: link with INTLLIBS if needed
gettext may be provided by external libraries, as specified in
INTLLIBS, so we must include @INTLLIBS@ in the LIBS variable.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
autoconf/makeinfo.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/autoconf/makeinfo.in b/autoconf/makeinfo.in
index ee3054a..6d58d77 100644
--- a/autoconf/makeinfo.in
+++ b/autoconf/makeinfo.in
@@ -13,5 +13,5 @@ DEFINES = -DETCDIR=\"${SYSCONFDIR}/\" -DVER=\"${VER}\" @DEFS@ \
$(PROFILE) -D__USE_FIXED_PROTOTYPES__ -D_GNU_SOURCE \
-DLOCALEDIR=\"@datadir@/locale\"
CFLAGS = $(DEFINES) @gcc_cflags@ @CFLAGS@
-LIBS = @LIBS@ $(EFENCE)
+LIBS = @LIBS@ @INTLLIBS@ $(EFENCE)
INSTALL_PROGRAM = ${INSTALL}
--
2.13.5