From f698b9c8a8edb6e277aaee0a04babd152a2d3af8 Mon Sep 17 00:00:00 2001 From: Luiz Angelo Daros de Luca Date: Sun, 16 Jun 2024 01:51:58 -0300 Subject: [PATCH] hplip: update to 3.23.12 See: https://developers.hp.com/hp-linux-imaging-and-printing/release_notes Signed-off-by: Luiz Angelo Daros de Luca --- utils/hplip/Makefile | 6 +++--- utils/hplip/patches/010-libusb_fix.patch | 2 +- .../patches/030-replace_unsafe_memcpy_with_memmove.patch | 2 +- utils/hplip/patches/070-respect-cflags.patch | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/utils/hplip/Makefile b/utils/hplip/Makefile index e0a36fe3e6..25ea6edfd5 100644 --- a/utils/hplip/Makefile +++ b/utils/hplip/Makefile @@ -6,12 +6,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=hplip -PKG_VERSION:=3.21.6 -PKG_RELEASE:=2 +PKG_VERSION:=3.23.12 +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/hplip -PKG_HASH:=cc3360d3d913684fb080db97a434b04be45e2cef23cc5bc4cbc5f64b0c5e7bca +PKG_HASH:=a76c2ac8deb31ddb5f0da31398d25ac57440928a0692dcb060a48daa718e69ed PKG_MAINTAINER:=Luiz Angelo Daros de Luca PKG_LICENSE:=GPL-2.0 GPL-2.0-or-later diff --git a/utils/hplip/patches/010-libusb_fix.patch b/utils/hplip/patches/010-libusb_fix.patch index bcc7905d46..5fad9a0bb9 100644 --- a/utils/hplip/patches/010-libusb_fix.patch +++ b/utils/hplip/patches/010-libusb_fix.patch @@ -9,7 +9,7 @@ libhpmud_la_LDFLAGS += -lusb-1.0 endif -@@ -363,7 +363,7 @@ hpmudext_la_CFLAGS += -Iprotocol/discove +@@ -365,7 +365,7 @@ hpmudext_la_CFLAGS += -Iprotocol/discove endif if !LIBUSB01_BUILD diff --git a/utils/hplip/patches/030-replace_unsafe_memcpy_with_memmove.patch b/utils/hplip/patches/030-replace_unsafe_memcpy_with_memmove.patch index 2babb2b67a..5b12986fcf 100644 --- a/utils/hplip/patches/030-replace_unsafe_memcpy_with_memmove.patch +++ b/utils/hplip/patches/030-replace_unsafe_memcpy_with_memmove.patch @@ -4,7 +4,7 @@ memcpy should never be used with overlapping memory regions --- a/io/hpmud/musb.c +++ b/io/hpmud/musb.c -@@ -775,7 +775,7 @@ static int device_id(int fd, unsigned ch +@@ -776,7 +776,7 @@ static int device_id(int fd, unsigned ch len = size-1; /* leave byte for zero termination */ if (len > 2) len -= 2; diff --git a/utils/hplip/patches/070-respect-cflags.patch b/utils/hplip/patches/070-respect-cflags.patch index c1f7c7957c..6853cb878a 100644 --- a/utils/hplip/patches/070-respect-cflags.patch +++ b/utils/hplip/patches/070-respect-cflags.patch @@ -18,7 +18,7 @@ then echo $FLAGS fi -@@ -659,7 +659,7 @@ if test "$class_driver" = "no" && test " +@@ -668,7 +668,7 @@ if test "$class_driver" = "no" && test " AS_IF([test "x$FOUND_HEADER" != "xyes"], [AC_MSG_ERROR([cannot find python-devel support], 6)]) fi