packages/net/cups/patches/140-uname.patch

13 lines
346 B
Diff
Raw Normal View History

diff -urN cups-1.3.7/configure cups-1.3.7.new/configure
--- cups-1.3.7/configure 2008-04-01 23:59:43.000000000 +0200
+++ cups-1.3.7.new/configure 2008-07-13 16:17:08.000000000 +0200
@@ -1920,7 +1920,7 @@
-uname=`uname`
+uname=${UNAME:-`uname`}
uversion=`uname -r | sed -e '1,$s/^[^0-9]*\([0-9]*\)\.\([0-9]*\).*/\1\2/'`
uarch=`uname -m`