[packages/bamf] Add -build patch to fix build with new gcc. Release 6
megabajt
megabajt at pld-linux.org
Thu Sep 21 22:26:20 CEST 2017
commit 4aeefd48562894cf1bd660d8c42bffe53f5c7c62
Author: Marcin Banasiak <marcin.banasiak at gmail.com>
Date: Thu Sep 21 22:25:35 2017 +0200
Add -build patch to fix build with new gcc. Release 6
bamf-build.patch | 11 +++++++++++
bamf.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/bamf.spec b/bamf.spec
index edb4450..c10061c 100644
--- a/bamf.spec
+++ b/bamf.spec
@@ -5,7 +5,7 @@
Summary: Application matching framework
Name: bamf
Version: 0.2.104
-Release: 5
+Release: 6
# Library bits are LGPLv2 or LGPLv3 (but not open-ended LGPLv2+);
# non-lib bits are GPLv3.
# pbrobinson points out that three files in the lib are actually
@@ -18,6 +18,7 @@ Group: Libraries
URL: https://launchpad.net/bamf
Source0: http://launchpad.net/bamf/0.2/%{version}/+download/%{name}-%{version}.tar.gz
# Source0-md5: 4271cd5979483f7e3a9bffc42fed6383
+Patch0: %{name}-build.patch
BuildRequires: dbus-glib-devel
BuildRequires: gobject-introspection-devel
BuildRequires: gtk+2-devel
@@ -89,6 +90,7 @@ API and internal documentation for %{name} library.
%prep
%setup -q
+%patch0 -p1
%build
# ../.././src/bamf-legacy-window.c: In function 'bamf_legacy_window_get_class_name':
diff --git a/bamf-build.patch b/bamf-build.patch
new file mode 100644
index 0000000..b62438f
--- /dev/null
+++ b/bamf-build.patch
@@ -0,0 +1,11 @@
+--- bamf-0.2.104/lib/libbamf/bamf-application.c.build 2017-09-21 21:41:32.528233899 +0200
++++ bamf-0.2.104/lib/libbamf/bamf-application.c 2017-09-21 21:41:38.144354981 +0200
+@@ -179,7 +179,7 @@ bamf_application_get_windows (BamfApplic
+ {
+ view = l->data;
+
+- if (BAMF_IS_WINDOW (view));
++ if (BAMF_IS_WINDOW (view))
+ {
+ windows = g_list_prepend (windows, view);
+ }
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/bamf.git/commitdiff/4aeefd48562894cf1bd660d8c42bffe53f5c7c62
More information about the pld-cvs-commit
mailing list