[packages/aggregate] - rel 3, use our CFLAGS and LDFLAGS

baggins baggins at pld-linux.org
Sat Feb 21 11:12:02 CET 2026


commit 11a4119124f176188fa521837ecd029058ffb4ee
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Feb 21 12:11:52 2026 +0100

    - rel 3, use our CFLAGS and LDFLAGS

 aggregate.spec |  4 +++-
 optflags.patch | 13 +++++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)
---
diff --git a/aggregate.spec b/aggregate.spec
index 90c052e..4a81571 100644
--- a/aggregate.spec
+++ b/aggregate.spec
@@ -2,11 +2,12 @@ Summary:	Aggregate list of prefixes
 Summary(pl.UTF-8):	Agregacja listy adresów
 Name:		aggregate
 Version:	1.6
-Release:	2
+Release:	3
 License:	BSD-like
 Group:		Applications/Networking
 Source0:	ftp://ftp.isc.org/isc/aggregate/%{name}-%{version}.tar.gz
 # Source0-md5:	6fcc515388bf2c5b0c8f9f733bfee7e1
+Patch0:		optflags.patch
 BuildRequires:	autoconf
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -31,6 +32,7 @@ być połączone w jeden, krótszy adres (np. 203.97.2.0/24 i
 
 %prep
 %setup -q
+%patch -P0 -p1
 
 %build
 %{__autoconf}
diff --git a/optflags.patch b/optflags.patch
new file mode 100644
index 0000000..415c7d1
--- /dev/null
+++ b/optflags.patch
@@ -0,0 +1,13 @@
+--- aggregate-1.6/Makefile.in~	2002-03-06 17:59:37.000000000 +0100
++++ aggregate-1.6/Makefile.in	2026-02-21 12:09:08.913336220 +0100
+@@ -25,8 +25,8 @@
+ INSTALL = @INSTALL@
+ DEFS = @DEFS@
+ LIBS = @LIBS@
+-CFLAGS = -O
+-LDFLAGS = -s
++CFLAGS = @CFLAGS@
++LDFLAGS = @LDFLAGS@
+ prefix = @prefix@
+ 
+ SHELL = /bin/sh
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/aggregate.git/commitdiff/11a4119124f176188fa521837ecd029058ffb4ee



More information about the pld-cvs-commit mailing list