[packages/min12xxw] Rel 2
arekm
arekm at pld-linux.org
Fri May 8 20:49:13 CEST 2026
commit 8fd753fa6099366ef84368f1260ae24e0d375dca
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri May 8 20:49:03 2026 +0200
Rel 2
min12xxw-0.0.9-format-security.patch | 11 +++++++++++
min12xxw.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/min12xxw.spec b/min12xxw.spec
index ce930ce..57f805b 100644
--- a/min12xxw.spec
+++ b/min12xxw.spec
@@ -2,11 +2,12 @@ Summary: Minolta PagePro 1[23]xxW printers driver
Summary(pl.UTF-8): Sterownik dla drukarek Minolta PagePro 1[23]xxW
Name: min12xxw
Version: 0.0.9
-Release: 1
+Release: 2
License: GPL
Group: Applications/Graphics
Source0: http://www.hinterbergen.de/mala/min12xxw/%{name}-%{version}.tar.gz
# Source0-md5: 3582da7bd8d2d612b1fbcbfdb8b3239a
+Patch0: %{name}-%{version}-format-security.patch
URL: http://www.hinterbergen.de/mala/min12xxw/
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -24,6 +25,7 @@ zrozumiałego przez drukarkę.
%prep
%setup -q
+%patch -P0 -p1
%build
%configure
diff --git a/min12xxw-0.0.9-format-security.patch b/min12xxw-0.0.9-format-security.patch
new file mode 100644
index 0000000..4bc6912
--- /dev/null
+++ b/min12xxw-0.0.9-format-security.patch
@@ -0,0 +1,11 @@
+--- min12xxw-0.0.9/min12xxw.c.orig
++++ min12xxw-0.0.9/min12xxw.c
+@@ -725,7 +725,7 @@
+ {
+ int i, n;
+
+- n = printf(msg);
++ n = printf("%s", msg);
+ /* print all available somethings from our map */
+ for (i = 0; m[i].str != NULL; i++) {
+ /* in case we had to start a new line below, we need to
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/min12xxw.git/commitdiff/8fd753fa6099366ef84368f1260ae24e0d375dca
More information about the pld-cvs-commit
mailing list