Skip to content

Commit

Permalink
package/hplip: fix build by bumping to version 3.16.11
Browse files Browse the repository at this point in the history
Adjust patch ccrisan#2 to apply successfully.

Fixes:
http://autobuild.buildroot.net/results/bee/beea88e0848ccabcafe6b92c2a69074ed1114225/
http://autobuild.buildroot.net/results/4ba/4ba68d3e6764f395f3314c46c4d06b101c23479c/
http://autobuild.buildroot.net/results/345/3455044679a497fbee72378e59178724305720d9/
.. and many more.

The previous version 3.15.11 failed to build because of:

```
hpijs/hpcupsfax.cpp: In function 'int main(int, char**)':
prnt/hpijs/hpcupsfax.cpp:651:5: error: 'ppd_file_t' was not declared in
this scope
     ppd_file_t          *ppd;
     ^
```

`ppd_file_t` is defined in "cups/ppd.h" which was not included in 3.15.11, but
is in 3.16.11.

Signed-off-by: Jörg Krause <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
  • Loading branch information
joerg-krause authored and tpetazzoni committed Jan 22, 2017
1 parent 39a7be2 commit 5af5eae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ index 8b06428..680cad5 100755
@@ -27,8 +27,7 @@

#AC_PREREQ(2.59)
AC_INIT([HP Linux Imaging and Printing], [3.15.11], [3.15.11], [hplip])
AC_INIT([HP Linux Imaging and Printing], [3.16.11], [3.16.11], [hplip])
-#AM_INIT_AUTOMAKE([1.9 foreign])
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE([1.9 foreign subdir-objects])
Expand Down
2 changes: 1 addition & 1 deletion package/hplip/hplip.hash
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Locally computed:
sha256 33c4711bde04a34b81f3f70e6277a0375dded171469e5aa8b9cef1a14a407c6d hplip-3.15.11.tar.gz
sha256 f6e20cacb4891e4e60fc5de2213a10f8d0c68840f9b511aa38cfca0cb29f9b24 hplip-3.16.11.tar.gz
2 changes: 1 addition & 1 deletion package/hplip/hplip.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
################################################################################

HPLIP_VERSION = 3.15.11
HPLIP_VERSION = 3.16.11
HPLIP_SITE = http://downloads.sourceforge.net/hplip/hplip
HPLIP_AUTORECONF = YES
HPLIP_DEPENDENCIES = cups libusb jpeg host-pkgconf
Expand Down

0 comments on commit 5af5eae

Please sign in to comment.