openbsd-ports/textproc/gdiff/patches/patch-configure
alek ebedca052a - Fix libintl linking
- Bump PKGNAME
2005-02-21 14:29:47 +00:00

56 lines
1.4 KiB
Plaintext

$OpenBSD: patch-configure,v 1.4 2005/02/21 14:29:47 alek Exp $
--- configure.orig Fri Apr 5 23:48:26 2002
+++ configure Mon Feb 21 15:17:11 2005
@@ -3722,7 +3722,7 @@ _ACEOF
cat >>confdefs.h <<\_ACEOF
-#define DEFAULT_DIFF_PROGRAM "diff"
+#define DEFAULT_DIFF_PROGRAM "gdiff"
_ACEOF
@@ -5870,7 +5870,6 @@ else
#include "confdefs.h"
#include <libintl.h>
extern int _nl_msg_cat_cntr;
-extern int *_nl_domain_bindings;
extern
#ifdef __cplusplus
"C"
@@ -5886,7 +5885,7 @@ int
main ()
{
bindtextdomain ("", "");
-return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings + *_nl_expand_alias (0)
+return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
;
return 0;
}
@@ -5917,7 +5916,6 @@ rm -f conftest.$ac_objext conftest$ac_ex
#include "confdefs.h"
#include <libintl.h>
extern int _nl_msg_cat_cntr;
-extern int *_nl_domain_bindings;
extern
#ifdef __cplusplus
"C"
@@ -5933,7 +5931,7 @@ int
main ()
{
bindtextdomain ("", "");
-return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings + *_nl_expand_alias (0)
+return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
;
return 0;
}
@@ -14667,7 +14665,7 @@ s,@USE_NLS@,$USE_NLS,;t t
s,@LIBICONV@,$LIBICONV,;t t
s,@LTLIBICONV@,$LTLIBICONV,;t t
s,@INTLLIBS@,$INTLLIBS,;t t
-s,@LIBINTL@,$LIBINTL,;t t
+s,@LIBINTL@,$LTLIBINTL,;t t
s,@LTLIBINTL@,$LTLIBINTL,;t t
s,@POSUB@,$POSUB,;t t
s,@LIBOBJS@,$LIBOBJS,;t t