summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsépius <corsepiu@fedoraproject.org>2015-06-19 10:06:36 +0200
committerRalf Corsépius <corsepiu@fedoraproject.org>2015-06-19 10:06:36 +0200
commit3bfe6c737caca25ab2a5449922309350f7e975c8 (patch)
tree6e13580eaa5a07a2256e2e5c8c3ab1af8ce3f1e5
parent9c161aa12bef3f2ba60e2ac6d8b0c6056d7e8e1d (diff)
downloadbwm-ng-3bfe6c737caca25ab2a5449922309350f7e975c8.tar.gz
bwm-ng-3bfe6c737caca25ab2a5449922309350f7e975c8.tar.xz
bwm-ng-3bfe6c737caca25ab2a5449922309350f7e975c8.zip
Append --stdc=gnu89 to CFLAGS (Work-around to c11/inline compatibilityf23
issues. Fix FTBFS).
-rw-r--r--bwm-ng.spec10
1 files changed, 9 insertions, 1 deletions
diff --git a/bwm-ng.spec b/bwm-ng.spec
index adf44bb..4005f9a 100644
--- a/bwm-ng.spec
+++ b/bwm-ng.spec
@@ -1,6 +1,6 @@
Name: bwm-ng
Version: 0.6
-Release: 17%{?dist}
+Release: 18%{?dist}
Summary: Bandwidth Monitor NG
License: GPLv2+
URL: http://www.volker-gropp.de/?id=projects&sub=bwm-ng
@@ -30,6 +30,10 @@ Features:
%patch0 -p1
%build
+# FIXME: Package suffers from c11/inline issues
+# Workaround by appending --std=gnu89 to CFLAGS
+# Proper fix would be to fix the source-code
+CFLAGS="${RPM_OPT_FLAGS} -std=gnu89"
%configure --enable-64bit \
--enable-netstatbyte \
--enable-netstatlink \
@@ -56,6 +60,10 @@ install -pDm644 bwm-ng.1 %{buildroot}%{_mandir}/man1/bwm-ng.1
%{_mandir}/man1/bwm-ng.1*
%changelog
+* Fri Jun 19 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.6-18
+- Append --stdc=gnu89 to CFLAGS (Work-around to c11/inline compatibility
+ issues. Fix FTBFS).
+
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild