openbsd-ports/print/gutenprint/patches/patch-configure
2012-10-13 08:24:52 +00:00

27 lines
804 B
Plaintext

$OpenBSD: patch-configure,v 1.6 2012/10/13 08:24:52 ajacoutot Exp $
--- configure.orig Sat Jul 7 17:36:20 2012
+++ configure Sat Oct 13 10:03:59 2012
@@ -12841,12 +12841,11 @@ else
#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;
}
@@ -17538,7 +17537,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:${as_lineno-$LINENO}: checking if ${CC} supports ${stp_ac_arg}" >&5