[packages/frame] - rel 3, this library is too old to barf with -Werror
baggins
baggins at pld-linux.org
Thu May 7 23:28:10 CEST 2026
commit cc3e43097f08d15367420b23af659734605bcf32
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri May 8 01:27:44 2026 +0200
- rel 3, this library is too old to barf with -Werror
frame.spec | 4 +++-
no-Werror.patch | 11 +++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/frame.spec b/frame.spec
index 2ea24ee..2cbbc1c 100644
--- a/frame.spec
+++ b/frame.spec
@@ -6,11 +6,12 @@ Summary: Open Input Framework Frame Library
Summary(pl.UTF-8): Biblioteka Open Input Framework Frame
Name: frame
Version: 2.5.0
-Release: 2
+Release: 3
License: GPL v3 / LGPL v3
Group: Libraries
Source0: https://launchpad.net/frame/trunk/v%{version}/+download/%{name}-%{version}.tar.xz
# Source0-md5: f523283e80a1de613bd38e3b7f0c5f8e
+Patch0: no-Werror.patch
URL: https://launchpad.net/frame
BuildRequires: asciidoc
# -std=c1x
@@ -73,6 +74,7 @@ Statyczna biblioteka frame.
%prep
%setup -q
+%patch -P0 -p1
%build
CXXFLAGS="%{rpmcxxflags} -Wno-error=unused-variable"
diff --git a/no-Werror.patch b/no-Werror.patch
new file mode 100644
index 0000000..057d76d
--- /dev/null
+++ b/no-Werror.patch
@@ -0,0 +1,11 @@
+--- frame-2.5.0/configure.ac~ 2013-02-08 20:05:24.000000000 +0100
++++ frame-2.5.0/configure.ac 2026-05-08 01:26:12.026680981 +0200
+@@ -125,7 +125,7 @@
+ AC_SUBST(CXX_LIBS)
+ AC_LANG_POP(C++)
+
+-AC_SUBST(WARNING_CPPFLAGS, "-Wall -Werror")
++AC_SUBST(WARNING_CPPFLAGS, "-Wall")
+ AC_SUBST(C11_CFLAGS, "-std=c1x")
+ AC_SUBST(CXX11_CXXFLAGS, "-std=c++0x")
+ AC_SUBST(VISIBILITY_CFLAGS, "-fvisibility=hidden")
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/frame.git/commitdiff/cc3e43097f08d15367420b23af659734605bcf32
More information about the pld-cvs-commit
mailing list