RHEL-50774 enlarge array for vendor specific attributtes
Resolves: RHEL-50774
This commit is contained in:
parent
50fabbc98d
commit
45adba6139
13
pappl-max-vendors.patch
Normal file
13
pappl-max-vendors.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/pappl/printer.h b/pappl/printer.h
|
||||
index c261f5f..860cae0 100644
|
||||
--- a/pappl/printer.h
|
||||
+++ b/pappl/printer.h
|
||||
@@ -27,7 +27,7 @@ extern "C" {
|
||||
# define PAPPL_MAX_SOURCE 16 // Maximum number of sources/rolls
|
||||
# define PAPPL_MAX_SUPPLY 32 // Maximum number of supplies
|
||||
# define PAPPL_MAX_TYPE 32 // Maximum number of media types
|
||||
-# define PAPPL_MAX_VENDOR 32 // Maximum number of vendor extension attributes
|
||||
+# define PAPPL_MAX_VENDOR 256 // Maximum number of vendor extension attributes
|
||||
|
||||
|
||||
//
|
||||
@ -10,7 +10,7 @@
|
||||
Summary: Printer Application Framework (PAPPL)
|
||||
Name: pappl
|
||||
Version: 1.4.6
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: Apache-2.0 WITH LLVM-exception
|
||||
Source: https://github.com/michaelrsweet/pappl/releases/download/v%{version}/pappl-%{version}.tar.gz
|
||||
Url: https://www.msweet.org/pappl
|
||||
@ -20,6 +20,9 @@ Url: https://www.msweet.org/pappl
|
||||
Patch001: 0001-List-raw-sockets-during-printers-subcommand-if-avail.patch
|
||||
# https://github.com/michaelrsweet/pappl/commit/3f1c329fdd
|
||||
Patch002: 0001-Fix-port-number-user-input-when-adding-a-printer-Iss.patch
|
||||
# raise MAX_VENDOR https://sourceforge.net/p/gimp-print/mailman/gimp-print-devel/thread/e24b2385-6576-a949-a40d-3786c8067520%40gmail.com/#msg37353830
|
||||
# downstream only, Mike does not want to merge the change
|
||||
Patch003: pappl-max-vendors.patch
|
||||
|
||||
|
||||
BuildRequires: avahi-devel
|
||||
@ -109,6 +112,9 @@ make test
|
||||
%{_mandir}/man3/pappl-system.3.gz
|
||||
|
||||
%changelog
|
||||
* Mon Jul 29 2024 Zdenek Dohnal <zdohnal@redhat.com> - 1.4.6-2
|
||||
- RHEL-50774 enlarge array for vendor specific attributtes
|
||||
|
||||
* Wed Jul 17 2024 Zdenek Dohnal <zdohnal@redhat.com> - 1.4.6-1
|
||||
- RHEL-25805 [pappl] rebase pappl to 1.4.6
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user