From c4eaa71ab944ab3ea3304581eac450576d9c630a Mon Sep 17 00:00:00 2001 From: naddy Date: Sun, 15 Feb 2009 00:08:14 +0000 Subject: Don't try to extract a "distro name" from /etc/issue and choke on unexpected contents. Found the hard way by Lars Eighner. Approved by: maintainer --- audio/sox/files/patch-configure | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 audio/sox/files/patch-configure (limited to 'audio') diff --git a/audio/sox/files/patch-configure b/audio/sox/files/patch-configure new file mode 100644 index 000000000000..d9c79cf07b27 --- /dev/null +++ b/audio/sox/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig 2009-02-14 19:08:53.000000000 +0100 ++++ configure 2009-02-14 19:09:06.000000000 +0100 +@@ -20805,7 +20805,7 @@ + + + +-if test -r /etc/issue; then ++if false && test -r /etc/issue; then + { $as_echo "$as_me:$LINENO: checking distro name" >&5 + $as_echo_n "checking distro name... " >&6; } + DISTRO=`sed -e "s/.0-90-9;*mJH//g" < /etc/issue|tr "\n" " " | sed -e "s/(\\\\?\\\\\\\\.*//" -e "s/ */ /g" -e "s/^ //" -e "s/ $//"` -- cgit