rpms/ctrlproxy/devel ctrlproxy-fix-ansi-build.patch, NONE, 1.1 ctrlproxy.spec, 1.12, 1.13

Joshua W. Boyer (jwboyer) fedora-extras-commits at redhat.com
Tue Jan 8 02:30:12 UTC 2008


Author: jwboyer

Update of /cvs/pkgs/rpms/ctrlproxy/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27208

Modified Files:
	ctrlproxy.spec 
Added Files:
	ctrlproxy-fix-ansi-build.patch 
Log Message:
Remove -ansi CFLAG that causes build failures with newer glib headers due to 
use of C99 style comments (EWW)


ctrlproxy-fix-ansi-build.patch:

--- NEW FILE ctrlproxy-fix-ansi-build.patch ---
Index: ctrlproxy-3.0.3/Makefile
===================================================================
--- ctrlproxy-3.0.3.orig/Makefile
+++ ctrlproxy-3.0.3/Makefile
@@ -14,7 +14,7 @@ LIBS += $(GNUTLS_LIBS)
 CFLAGS += $(GNUTLS_CFLAGS)
 
 CFLAGS+=-DHAVE_CONFIG_H -DSHAREDIR=\"$(cdatadir)\" -DDEFAULT_CONFIG_DIR=\"$(DEFAULT_CONFIG_DIR)\" -DHELPFILE=\"$(HELPFILE)\"
-CFLAGS+=-ansi -Wall -DMODULESDIR=\"$(modulesdir)\" -DSTRICT_MEMORY_ALLOCS=
+CFLAGS+=-Wall -DMODULESDIR=\"$(modulesdir)\" -DSTRICT_MEMORY_ALLOCS=
 
 .PHONY: all clean distclean install install-bin install-dirs install-doc install-data install-mods install-pkgconfig
 


Index: ctrlproxy.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ctrlproxy/devel/ctrlproxy.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- ctrlproxy.spec	20 Nov 2007 22:15:00 -0000	1.12
+++ ctrlproxy.spec	8 Jan 2008 02:29:34 -0000	1.13
@@ -1,11 +1,12 @@
 Summary: ctrlproxy
 Name: ctrlproxy
 Version: 3.0.3
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2+
 Group: Applications/Internet
 Source: http://jelmer.vernstok.nl/releases/ctrlproxy-%{version}.tar.gz
 Url: http://jelmer.vernstok.nl/ctrlproxy/
+Patch0: ctrlproxy-fix-ansi-build.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: glib2-devel, popt, gnutls-devel
 
@@ -30,6 +31,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure
@@ -65,6 +67,9 @@
 %{_libdir}/pkgconfig/ctrlproxy.pc
 
 %changelog
+* Mon Jan 07 2008 Josh Boyer <jwboyer at gmail.com> 3.0.3-2
+- Fix build against new glib
+
 * Sun Nov 18 2007 Josh Boyer <jwboyer at jdub.homelinux.org> 3.0.3-1
 - Update to latest upstream
 




More information about the fedora-extras-commits mailing list