fix cups compile on freebsd
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5111 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
11
net/cups/patches/130-no_chown.patch
Normal file
11
net/cups/patches/130-no_chown.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- cups-1.1.23/systemv/Makefile.old Sun Oct 15 03:33:34 2006
|
||||
+++ cups-1.1.23/systemv/Makefile Sun Oct 15 03:33:55 2006
|
||||
@@ -77,7 +77,7 @@
|
||||
$(INSTALL_BIN) lp $(BINDIR)
|
||||
$(INSTALL_BIN) lpoptions $(BINDIR)
|
||||
$(INSTALL_BIN) lpstat $(BINDIR)
|
||||
- -$(INSTALL_BIN) -m 4755 -o $(CUPS_USER) -g $(CUPS_GROUP) lppasswd $(BINDIR)
|
||||
+ -$(INSTALL_BIN) lppasswd $(BINDIR)
|
||||
if test ! -x $(BINDIR)/lppasswd; then \
|
||||
chmod 755 $(BINDIR)/lppasswd; \
|
||||
fi
|
11
net/cups/patches/140-uname.patch
Normal file
11
net/cups/patches/140-uname.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- cups.dev/configure Sun Oct 15 15:22:17 2006
|
||||
+++ cups.old/configure Sun Oct 15 15:21:40 2006
|
||||
@@ -1300,7 +1300,7 @@
|
||||
|
||||
|
||||
|
||||
-uname=`uname`
|
||||
+uname=${UNAME:-`uname`}
|
||||
uversion=`uname -r | sed -e '1,$s/[^0-9]//g'`
|
||||
case "$uname" in
|
||||
GNU* | GNU/*)
|
Reference in New Issue
Block a user