summaryrefslogtreecommitdiff
path: root/print/lpr-wrapper/files
diff options
context:
space:
mode:
Diffstat (limited to 'print/lpr-wrapper/files')
-rw-r--r--print/lpr-wrapper/files/patch-lpr-wrapper-cups.in39
-rw-r--r--print/lpr-wrapper/files/patch-lpr-wrapper.in39
2 files changed, 0 insertions, 78 deletions
diff --git a/print/lpr-wrapper/files/patch-lpr-wrapper-cups.in b/print/lpr-wrapper/files/patch-lpr-wrapper-cups.in
deleted file mode 100644
index 587db6947f91..000000000000
--- a/print/lpr-wrapper/files/patch-lpr-wrapper-cups.in
+++ /dev/null
@@ -1,39 +0,0 @@
---- lpr-wrapper-cups.in.orig 2011-12-28 22:04:02.000000000 +0100
-+++ lpr-wrapper-cups.in 2011-12-28 22:05:03.000000000 +0100
-@@ -88,7 +88,7 @@
- prefix=@prefix@
-
- # global options file
--SYST_CONFIG=/etc/lprrc
-+SYST_CONFIG=@prefix@/etc/lprrc
-
- # user's options file
- USER_CONFIG=.lprrc
-@@ -464,17 +464,17 @@
- OPTSTRING=o:P:#:K:C:J:T:U:i:1:2:3:4:w:cdfghlnmprstv
- LONGOPTS=help,version,verbose,test,ppd:,tmpdir:
-
--if [ "$HAVE_getopt" ]; then
-- OPTIONS=`getopt -n $NAME -s bash -l $LONGOPTS -o $OPTSTRING -- $XOPTS "$@"`
-- if [ $? != 0 ]; then
-- echo "Try --help for more information" > /dev/stderr
-- exit 1
-- fi
-- eval set -- "$OPTIONS"
-- dopts "$@"
--else
-+#if [ "$HAVE_getopt" ]; then
-+# OPTIONS=`getopt -n $NAME -s bash -l $LONGOPTS -o $OPTSTRING -- $XOPTS "$@"`
-+# if [ $? != 0 ]; then
-+# echo "Try --help for more information" > /dev/stderr
-+# exit 1
-+# fi
-+# eval set -- "$OPTIONS"
-+# dopts "$@"
-+#else
- dopts $XOPTS "$@"
--fi
-+#fi
-
- #if no printer given (as option or through environment), use default
- if [ -z "$PRINTER" ]; then
diff --git a/print/lpr-wrapper/files/patch-lpr-wrapper.in b/print/lpr-wrapper/files/patch-lpr-wrapper.in
deleted file mode 100644
index 9c4e013ef967..000000000000
--- a/print/lpr-wrapper/files/patch-lpr-wrapper.in
+++ /dev/null
@@ -1,39 +0,0 @@
---- lpr-wrapper.in.orig 2011-07-15 13:17:49.000000000 +0800
-+++ lpr-wrapper.in 2011-07-15 13:18:56.000000000 +0800
-@@ -90,7 +90,7 @@
- prefix=@prefix@
-
- # global options file
--SYST_CONFIG=/etc/lprrc
-+SYST_CONFIG=@prefix@/etc/lprrc
-
- # user's options file
- USER_CONFIG=.lprrc
-@@ -465,17 +465,17 @@
- OPTSTRING=o:P:#:K:C:J:T:U:i:1:2:3:4:w:cdfghlnmprstv
- LONGOPTS=help,version,verbose,test,ppd:,tmpdir:
-
--if [ "$HAVE_getopt" ]; then
-- OPTIONS=`getopt -n $NAME -s bash -l $LONGOPTS -o $OPTSTRING -- $XOPTS "$@"`
-- if [ $? != 0 ]; then
-- echo "Try --help for more information" > /dev/stderr
-- exit 1
-- fi
-- eval set -- "$OPTIONS"
-- dopts "$@"
--else
-+#if [ "$HAVE_getopt" ]; then
-+# OPTIONS=`getopt -n $NAME -s bash -l $LONGOPTS -o $OPTSTRING -- $XOPTS "$@"`
-+# if [ $? != 0 ]; then
-+# echo "Try --help for more information" > /dev/stderr
-+# exit 1
-+# fi
-+# eval set -- "$OPTIONS"
-+# dopts "$@"
-+#else
- dopts $XOPTS "$@"
--fi
-+#fi
-
- #if no printer given (as option or through environment), use default
- if [ -z "$PRINTER" ]; then