rpms/nc/devel nc.spec,1.41,1.42

Jan Šafránek jsafrane at fedoraproject.org
Fri Feb 27 14:52:44 UTC 2009


Author: jsafrane

Update of /cvs/pkgs/rpms/nc/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25177

Modified Files:
	nc.spec 
Log Message:
fixed compilation with GCC 4.4


Index: nc.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nc/devel/nc.spec,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- nc.spec	26 Feb 2009 04:31:46 -0000	1.41
+++ nc.spec	27 Feb 2009 14:52:14 -0000	1.42
@@ -1,7 +1,7 @@
 Summary: Reads and writes data across network connections using TCP or UDP
 Name: nc
 Version: 1.84
-Release: 17%{?dist}
+Release: 18%{?dist}
 URL:	 http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/nc/
 # source is CVS checkout
 Source0: nc-%{version}.tar.bz2
@@ -51,7 +51,7 @@
 %patch10 -p1 -b .gcc
 
 %build
-gcc $RPM_OPT_FLAGS -Werror `pkg-config --cflags --libs glib-2.0` netcat.c atomicio.c socks.c -o nc
+gcc $RPM_OPT_FLAGS -Werror -fno-strict-aliasing `pkg-config --cflags --libs glib-2.0` netcat.c atomicio.c socks.c -o nc
 
 %install
 rm -rf ${RPM_BUILD_ROOT}
@@ -70,6 +70,9 @@
 %doc README scripts
 
 %changelog
+* Fri Feb 27 2009 Jan Safranek <jsafrane at redhat.com> - 1.84-18
+- fixed compilation with GCC 4.4
+
 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.84-17
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list