From 3741caa42dbeeecebc79e44b887e0f6a1e89fde2 Mon Sep 17 00:00:00 2001 From: Niclas Zeising Date: Mon, 2 Sep 2013 12:05:58 +0000 Subject: A bunch of cleanups and fixes. Fix build with compiler is gccXX (where xx is for instance 46, 47) by running autoconf to generate a working configure. Use ${REINPLACE_CMD} instead of hand-rolled sed. Change regexp to work on configure.in instead of configure, since we'll autoconf configure.in anyway. Check for libutil.h alongside util.h, and make use of that if it is found. Make detection and use of gettext work with all compilers. Add locale messages to plist. Bump portrevision. Noticed by: avg (build issues) Tested by: avg --- x11/xscreensaver/files/patch-utils_textclient.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 x11/xscreensaver/files/patch-utils_textclient.c (limited to 'x11/xscreensaver/files/patch-utils_textclient.c') diff --git a/x11/xscreensaver/files/patch-utils_textclient.c b/x11/xscreensaver/files/patch-utils_textclient.c new file mode 100644 index 000000000000..b46d2ffc9ae3 --- /dev/null +++ b/x11/xscreensaver/files/patch-utils_textclient.c @@ -0,0 +1,12 @@ +--- utils/textclient.c.orig 2013-09-02 12:43:01.271738814 +0200 ++++ utils/textclient.c 2013-09-02 12:43:25.014748042 +0200 +@@ -50,6 +50,9 @@ + # ifdef HAVE_UTIL_H + # include + # endif ++# ifdef HAVE_LIBUTIL_H ++# include ++# endif + #endif /* HAVE_FORKPTY */ + + /*#define DEBUG*/ -- cgit v1.2.3