openbsd-ports/print/gutenprint/patches/patch-configure
2009-08-27 11:11:04 +00:00

27 lines
818 B
Plaintext

$OpenBSD: patch-configure,v 1.3 2009/08/27 11:11:04 ajacoutot Exp $
--- configure.orig Sun Jul 26 22:36:34 2009
+++ configure Thu Aug 27 09:52:57 2009
@@ -12660,12 +12660,11 @@ cat >>conftest.$ac_ext <<_ACEOF
#include <libintl.h>
$gt_revision_test_code
extern int _nl_msg_cat_cntr;
-extern int *_nl_domain_bindings;
int
main ()
{
bindtextdomain ("", "");
-return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
+return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr
;
return 0;
}
@@ -18101,7 +18100,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$
else
- for stp_ac_arg in -O6 -O3 -O2 -O1 -O ; do
+ for stp_ac_arg in '' ; do
stp_ac_save_CFLAGS="${CFLAGS}"
{ $as_echo "$as_me:$LINENO: checking if ${CC} supports ${stp_ac_arg}" >&5