summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLadislav Hagara2011-08-03 22:54:59 +0200
committerLadislav Hagara2011-08-03 22:54:59 +0200
commit2c9352b96c219f0caf10b3cc56ee0ac1ed253d9b (patch)
treedbdbbe1e956d4ebaeabdbf7dbd3a721f8eb2a46d
parent05f3ef8d2989f2411c6cd241cfbb59728091a04f (diff)
hplip 3.11.7
prnt/hpps/hppsfilter.c: In function 'require_bod': prnt/hpps/hppsfilter.c:119: error: 'ppd_attr_t' undeclared (first use in this fu nction) prnt/hpps/hppsfilter.c:119: error: (Each undeclared identifier is reported only once prnt/hpps/hppsfilter.c:119: error: for each function it appears in.) prnt/hpps/hppsfilter.c:119: error: 'pattr' undeclared (first use in this functio n) prnt/hpps/hppsfilter.c:120: error: 'ppd_file_t' undeclared (first use in this fu nction) prnt/hpps/hppsfilter.c:120: error: 'pppd' undeclared (first use in this function ) make: *** [hppsfilter.o] Error 1 ! Problem Detected !
-rwxr-xr-xprinter/hplip/DETAILS2
-rw-r--r--printer/hplip/HISTORY4
-rwxr-xr-xprinter/hplip/PRE_BUILD3
3 files changed, 8 insertions, 1 deletions
diff --git a/printer/hplip/DETAILS b/printer/hplip/DETAILS
index 5b5b1e588a..02235ff892 100755
--- a/printer/hplip/DETAILS
+++ b/printer/hplip/DETAILS
@@ -1,5 +1,5 @@
SPELL=hplip
- VERSION=3.11.5
+ VERSION=3.11.7
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE2=$SOURCE.asc
SOURCE2_IGNORE=signature
diff --git a/printer/hplip/HISTORY b/printer/hplip/HISTORY
index 81d1601f1e..6929555d81 100644
--- a/printer/hplip/HISTORY
+++ b/printer/hplip/HISTORY
@@ -1,3 +1,7 @@
+2011-08-03 Ladislav Hagara <hgr@vabo.cz>
+ * DETAILS: 3.11.7
+ * PRE_BUILD: sedit added due to cups 1.5.0
+
2011-06-12 Ladislav Hagara <hgr@vabo.cz>
* DETAILS: 3.11.5
diff --git a/printer/hplip/PRE_BUILD b/printer/hplip/PRE_BUILD
index ac93b471da..275dc10507 100755
--- a/printer/hplip/PRE_BUILD
+++ b/printer/hplip/PRE_BUILD
@@ -1,6 +1,9 @@
default_pre_build &&
cd "$SOURCE_DIRECTORY" &&
+# cups 1.5.0 fix
+sedit "41i#include <cups/ppd.h>" prnt/hpps/hppsfilter.c &&
+
patch -p0 < "$SPELL_DIRECTORY/interactive.patch" &&
sed -i "s:SYSFS:ATTRS:g" data/rules/55-hpmud.rules \