[packages/libcgi] Rel 2

arekm arekm at pld-linux.org
Tue Mar 10 21:31:23 CET 2026


commit c2abe417e9c0e97102caf486cb77bfbe6b8eb911
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Mar 10 21:31:18 2026 +0100

    Rel 2

 libcgi-va-list-fix.patch | 11 +++++++++++
 libcgi.spec              |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/libcgi.spec b/libcgi.spec
index 05a970a..75b419c 100644
--- a/libcgi.spec
+++ b/libcgi.spec
@@ -2,11 +2,12 @@ Summary:	CGI applications in C library
 Summary(pl.UTF-8):	Biblioteka C dla aplikacji CGI
 Name:		libcgi
 Version:	1.0
-Release:	1
+Release:	2
 License:	LGPL v2.1+
 Group:		Libraries
 Source0:	http://downloads.sourceforge.net/libcgi/%{name}-%{version}.tar.gz
 # Source0-md5:	110af367081d33c7ed6527a1a60fc274
+Patch0:		%{name}-va-list-fix.patch
 URL:		http://libcgi.sourceforge.net/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -49,6 +50,7 @@ Statyczna biblioteka libcgi.
 
 %prep
 %setup -q
+%patch -P0 -p1
 
 %build
 %{__aclocal}
diff --git a/libcgi-va-list-fix.patch b/libcgi-va-list-fix.patch
new file mode 100644
index 0000000..e0ec9c8
--- /dev/null
+++ b/libcgi-va-list-fix.patch
@@ -0,0 +1,11 @@
+--- libcgi-1.0/src/string.c.orig
++++ libcgi-1.0/src/string.c
+@@ -584,7 +584,7 @@
+ 
+ 	va_start(ptr, s);
+ 
+-	va_copy(bkp, str);
++	va_copy(bkp, ptr);
+ 	len = strlen(s);
+ 
+ 	while (*str) {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libcgi.git/commitdiff/c2abe417e9c0e97102caf486cb77bfbe6b8eb911



More information about the pld-cvs-commit mailing list