[packages/newsx] - use -fcommon to allow build with gcc 10+; release 3

qboosh qboosh at pld-linux.org
Tue Jan 24 20:28:41 CET 2023


commit d0318c915566d09c6e909ec9d1cedb08c26ae1e8
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Jan 24 20:29:57 2023 +0100

    - use -fcommon to allow build with gcc 10+; release 3

 newsx.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/newsx.spec b/newsx.spec
index e4a84d4..c007c28 100644
--- a/newsx.spec
+++ b/newsx.spec
@@ -2,7 +2,7 @@ Summary:	NNTP news exchange utility
 Summary(pl.UTF-8):	Narzędzie do wymiany newsów po NNTP
 Name:		newsx
 Version:	1.6
-Release:	2
+Release:	3
 License:	GPL v2+
 Group:		Networking/News
 Source0:	ftp://ftp.tin.org/pub/news/utils/newsx/%{name}-%{version}.tar.gz
@@ -42,6 +42,8 @@ pobiera przychodzące artykuły.
 %{__autoconf}
 %{__autoheader}
 %{__automake}
+# 1.6 sources not ready for -fno-common
+CFLAGS="%{rpmcflags} -fcommon"
 # `innconfval -s` inaccessible for builder - pass everything explicitly
 %configure \
 	HISTORY="/var/lib/news/history" \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/newsx.git/commitdiff/d0318c915566d09c6e909ec9d1cedb08c26ae1e8



More information about the pld-cvs-commit mailing list