[packages/libggz] Rel 8
arekm
arekm at pld-linux.org
Sun Mar 15 01:55:25 CET 2026
commit cbf030e441f6c6f30b868ce7c1fe615a28ecfcd2
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun Mar 15 01:55:18 2026 +0100
Rel 8
libggz-c99-check.patch | 13 +++++++++++++
libggz.spec | 4 +++-
2 files changed, 16 insertions(+), 1 deletion(-)
---
diff --git a/libggz.spec b/libggz.spec
index 92331c4..c430b7c 100644
--- a/libggz.spec
+++ b/libggz.spec
@@ -2,13 +2,14 @@ Summary: Makes free online gaming possible
Summary(pl.UTF-8): Biblioteka pozwalająca grać w darmowe gry online
Name: libggz
Version: 0.0.14.1
-Release: 7
+Release: 8
License: LGPL v2.1+
Group: Libraries
Source0: http://mirrors.dotsrc.org/ggzgamingzone/ggz/%{version}/%{name}-%{version}.tar.gz
# Source0-md5: 603739504648833779aa13b0327a1c3d
Patch0: %{name}-link.patch
Patch1: %{name}-gnutls.patch
+Patch2: %{name}-c99-check.patch
URL: http://www.ggzgamingzone.org/
BuildRequires: autoconf >= 2.50
BuildRequires: automake
@@ -56,6 +57,7 @@ Statyczna biblioteka libggz.
%setup -q
%patch -P0 -p1
%patch -P1 -p1
+%patch -P2 -p1
%build
%{__libtoolize}
diff --git a/libggz-c99-check.patch b/libggz-c99-check.patch
new file mode 100644
index 0000000..130e644
--- /dev/null
+++ b/libggz-c99-check.patch
@@ -0,0 +1,13 @@
+--- libggz-0.0.14.1/m4/ggz/c99.m4.orig 2007-01-04 21:38:26.000000000 +0100
++++ libggz-0.0.14.1/m4/ggz/c99.m4 2026-03-15 12:00:00.000000000 +0100
+@@ -42,7 +42,9 @@
+ AC_CACHE_CHECK([for C99 variable arrays],
+ [ac_cv_c99_variable_arrays],
+ [AC_TRY_COMPILE(
+- [],
++ [#include <string.h>
++ #include <stdio.h>
++ ],
+ [char *s1 = "foo", *s2 = "bar";
+ char s3[strlen(s1) + strlen(s2) + 1];
+ sprintf(s3, "%s%s", s1, s2);],
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libggz.git/commitdiff/cbf030e441f6c6f30b868ce7c1fe615a28ecfcd2
More information about the pld-cvs-commit
mailing list