diff options
author | naddy <naddy@FreeBSD.org> | 2009-02-15 08:08:14 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2009-02-15 08:08:14 +0800 |
commit | c4eaa71ab944ab3ea3304581eac450576d9c630a (patch) | |
tree | 3d03eff389416708c35f071bf5480ede95cf8da8 /audio | |
parent | ecc4917445aa0952c82949f6a921d6fc5c9c8a4c (diff) | |
download | freebsd-ports-gnome-c4eaa71ab944ab3ea3304581eac450576d9c630a.tar.gz freebsd-ports-gnome-c4eaa71ab944ab3ea3304581eac450576d9c630a.tar.zst freebsd-ports-gnome-c4eaa71ab944ab3ea3304581eac450576d9c630a.zip |
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
Diffstat (limited to 'audio')
-rw-r--r-- | audio/sox/files/patch-configure | 11 |
1 files changed, 11 insertions, 0 deletions
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/ $//"` |