openbsd-ports/print/gutenprint/patches/patch-configure
2011-05-04 14:55:02 +00:00

27 lines
804 B
Plaintext

$OpenBSD: patch-configure,v 1.4 2011/05/04 14:55:02 ajacoutot Exp $
--- configure.orig Mon May 2 03:32:21 2011
+++ configure Wed May 4 16:41:29 2011
@@ -12032,12 +12032,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;
}
@@ -16691,7 +16690,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