Upgrade cups to 1.3.7
[openwrt/svn-archive/archive.git] / net / cups / patches / 140-uname.patch
index cea261e..80b4d28 100644 (file)
@@ -1,11 +1,12 @@
---- cups.dev/configure Sun Oct 15 15:22:17 2006
-+++ cups.old/configure Sun Oct 15 15:21:40 2006
-@@ -1300,7 +1300,7 @@
+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]//g'`
- case "$uname" in
-       GNU* | GNU/*)
+ uversion=`uname -r | sed -e '1,$s/^[^0-9]*\([0-9]*\)\.\([0-9]*\).*/\1\2/'`
+ uarch=`uname -m`