openwrt_archive/net/cups/patches/140-uname.patch
2012-06-28 14:47:02 +00:00

12 lines
234 B
Diff

--- a/configure
+++ b/configure
@@ -1966,7 +1966,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
-uname=`uname`
+uname=${UNAME:-`uname`}
uversion=`uname -r | sed -e '1,$s/^[^0-9]*\([0-9]*\)\.\([0-9]*\).*/\1\2/'`
uarch=`uname -m`