Skip to contentSkip to conversation

package/hplip: fix build by bumping to version 3.16.11

PATCH New Jörg Krause 2 participants 2 messages Jan 21, 2017 – Jan 22, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/hplip: fix build by bumping to version 3.16.11

Adjust patch #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.

---
 package/hplip/0002-configure.in-fix-AM_INIT_AUTOMAKE-call.patch | 2 +-
 package/hplip/hplip.hash                                        | 2 +-
 package/hplip/hplip.mk                                          | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
package/hplip/0002-configure.in-fix-AM_INIT_AUTOMAKE-call.patch +1 -1
index 7c7538d1a..814749017 100644
@@ -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])
package/hplip/hplip.hash +1 -1
index 75ff7d3d0..9dfb7a2ad 100644
@@ -1,2 +1,2 @@
 # Locally computed:
-sha256  33c4711bde04a34b81f3f70e6277a0375dded171469e5aa8b9cef1a14a407c6d  hplip-3.15.11.tar.gz
+sha256  f6e20cacb4891e4e60fc5de2213a10f8d0c68840f9b511aa38cfca0cb29f9b24  hplip-3.16.11.tar.gz
package/hplip/hplip.mk +1 -1
index d70e2e926..9a2c9db02 100644
@@ -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
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 package/hplip: fix build by bumping to version 3.16.11

Hello,

Quoted 21 lines · J?rg Krause

Adjust patch #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.

Quoted 6 lines
---
 package/hplip/0002-configure.in-fix-AM_INIT_AUTOMAKE-call.patch | 2 +-
 package/hplip/hplip.hash                                        | 2 +-
 package/hplip/hplip.mk                                          | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com