diff options
author | jperkin <jperkin@pkgsrc.org> | 2015-12-08 17:23:20 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2015-12-08 17:23:20 +0000 |
commit | 63df25015a5ac3a22f5c6a9424adac7c928abaf4 (patch) | |
tree | b6a0e92a6cb19b5bccf8d2985998f115b4bc6d98 /net | |
parent | 058ba8233068f730bd9ef0c7685966d852b20309 (diff) | |
download | pkgsrc-63df25015a5ac3a22f5c6a9424adac7c928abaf4.tar.gz |
Use $as_echo to support escape sequences correctly.
Diffstat (limited to 'net')
-rw-r--r-- | net/libvncserver/distinfo | 3 | ||||
-rw-r--r-- | net/libvncserver/patches/patch-configure | 44 |
2 files changed, 46 insertions, 1 deletions
diff --git a/net/libvncserver/distinfo b/net/libvncserver/distinfo index 28bbe88c453..2f0a08131e7 100644 --- a/net/libvncserver/distinfo +++ b/net/libvncserver/distinfo @@ -1,8 +1,9 @@ -$NetBSD: distinfo,v 1.11 2015/11/04 00:35:10 agc Exp $ +$NetBSD: distinfo,v 1.12 2015/12/08 17:23:20 jperkin Exp $ SHA1 (LibVNCServer-0.9.9.tar.gz) = 2004c6ae493baeff3da40b61e0a0f73c83182dad RMD160 (LibVNCServer-0.9.9.tar.gz) = e62e0903124abb85746bcac6498214fe09c3b4d7 SHA512 (LibVNCServer-0.9.9.tar.gz) = a37a1aa7a8d38d1a734b22d55d5fbfd07332e64a22067eb937e04256e3034691b7a9506b13f2d73e10d1e4f1e9fc05e66b35321c93225505297ef0a9beba0458 Size (LibVNCServer-0.9.9.tar.gz) = 1678609 bytes +SHA1 (patch-configure) = 0ab9513b3528830587d4474cc21ba2cee65dd349 SHA1 (patch-libvncserver_sockets.c) = 6af391ad441f561632ba2fea747006fa702776a1 SHA1 (patch-libvncserver_websockets.c) = 6b9e25e3f54af967d8f6581a2c1e3250b8772693 diff --git a/net/libvncserver/patches/patch-configure b/net/libvncserver/patches/patch-configure new file mode 100644 index 00000000000..a007ad89a19 --- /dev/null +++ b/net/libvncserver/patches/patch-configure @@ -0,0 +1,44 @@ +$NetBSD: patch-configure,v 1.3 2015/12/08 17:23:21 jperkin Exp $ + +Use $as_echo to support escape sequences correctly. + +--- configure.orig 2015-12-08 11:18:14.016272933 +0000 ++++ configure +@@ -26310,26 +26310,26 @@ else + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5 + $as_echo "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;} + if test -f $ac_prefix_conf_INP ; then +- echo "s/#undef *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\\)/#undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix ++ $as_echo "s/#undef *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\\)/#undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix + # no! these are things like socklen_t, const, vfork + # echo "s/#undef *\\([m4_cr_letters]\\)/#undef $_LOW""_\\1/" >> _script +- echo "s/#define *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_UPP""_\\1 \\" >> conftest.prefix +- echo "#define $ac_prefix_conf_UPP""_\\1 \\2 \\" >> conftest.prefix +- echo "#endif/" >>conftest.prefix ++ $as_echo "s/#define *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_UPP""_\\1 \\" >> conftest.prefix ++ $as_echo "#define $ac_prefix_conf_UPP""_\\1 \\2 \\" >> conftest.prefix ++ $as_echo "#endif/" >>conftest.prefix + # no! these are things like socklen_t, const, vfork + # echo "s/#def[]ine *\\([m4_cr_letters][_symbol]*\\)\\(.*\\)/#ifndef $_LOW""_\\1 \\" >> _script + # echo "#define $_LOW""_\\1 \\2 \\" >> _script + # echo "#endif/" >> _script + # now executing _script on _DEF input to create _OUT output file +- echo "#ifndef $ac_prefix_conf_DEF" >$tmp/pconfig.h +- echo "#define $ac_prefix_conf_DEF 1" >>$tmp/pconfig.h +- echo ' ' >>$tmp/pconfig.h +- echo /'*' $ac_prefix_conf_OUT. Generated automatically at end of configure. '*'/ >>$tmp/pconfig.h ++ $as_echo "#ifndef $ac_prefix_conf_DEF" >$tmp/pconfig.h ++ $as_echo "#define $ac_prefix_conf_DEF 1" >>$tmp/pconfig.h ++ $as_echo ' ' >>$tmp/pconfig.h ++ $as_echo /'*' $ac_prefix_conf_OUT. Generated automatically at end of configure. '*'/ >>$tmp/pconfig.h + + sed -f conftest.prefix $ac_prefix_conf_INP >>$tmp/pconfig.h +- echo ' ' >>$tmp/pconfig.h +- echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h +- echo "#endif" >>$tmp/pconfig.h ++ $as_echo ' ' >>$tmp/pconfig.h ++ $as_echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h ++ $as_echo "#endif" >>$tmp/pconfig.h + if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h 2>/dev/null; then + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_prefix_conf_OUT is unchanged" >&5 + $as_echo "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;} |