From 28a2f5563e7317e4cf18f30cdc1fd38eb2f6d567 Mon Sep 17 00:00:00 2001 From: wiz Date: Tue, 5 Jun 2012 15:27:22 +0000 Subject: Add patch based on taca's analysis which should fix build breakage on NetBSD<6. --- fonts/libfontenc/distinfo | 3 ++- fonts/libfontenc/patches/patch-configure | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 fonts/libfontenc/patches/patch-configure (limited to 'fonts/libfontenc') diff --git a/fonts/libfontenc/distinfo b/fonts/libfontenc/distinfo index 3a71e7ce2b0..800e6be23e4 100644 --- a/fonts/libfontenc/distinfo +++ b/fonts/libfontenc/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.4 2012/06/03 17:21:25 wiz Exp $ +$NetBSD: distinfo,v 1.5 2012/06/05 15:27:22 wiz Exp $ SHA1 (libfontenc-1.1.1.tar.bz2) = 90bdd53d75585dd0f06ad7bc23faccd8a01bb733 RMD160 (libfontenc-1.1.1.tar.bz2) = 237ca9ba30d46666608894a13f974eb76d067b34 Size (libfontenc-1.1.1.tar.bz2) = 289688 bytes +SHA1 (patch-configure) = 7a04ee4e0de43948eb38a35a08fdaac7aba26b55 diff --git a/fonts/libfontenc/patches/patch-configure b/fonts/libfontenc/patches/patch-configure new file mode 100644 index 00000000000..bcd1512d8b8 --- /dev/null +++ b/fonts/libfontenc/patches/patch-configure @@ -0,0 +1,17 @@ +$NetBSD: patch-configure,v 1.1 2012/06/05 15:27:22 wiz Exp $ + +Fix build breaker in NetBSD<6's sh: +checking if cc -std=gnu99 supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... +eval: 1: Syntax error: Bad substitution + +--- configure.orig 2012-03-03 01:52:25.000000000 +0000 ++++ configure +@@ -13733,7 +13733,7 @@ $as_echo "$supported" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5 + $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; } +- cacheid=`$as_echo xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED` ++ cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"` + if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then : + $as_echo_n "(cached) " >&6 + else -- cgit v1.2.3