rpms/check/F-10 check-0.9.6-strdup.patch, NONE, 1.1 check.spec, 1.10, 1.11

Jerry James jjames at fedoraproject.org
Tue Apr 7 15:03:43 UTC 2009


Author: jjames

Update of /cvs/pkgs/rpms/check/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31489/F-10

Modified Files:
	check.spec 
Added Files:
	check-0.9.6-strdup.patch 
Log Message:
* Tue Apr  7 2009 Jerry James <loganjerry at gmail.com> - 0.9.6-3
- Add check-0.9.6-strdup.patch


check-0.9.6-strdup.patch:

--- NEW FILE check-0.9.6-strdup.patch ---
diff -dur check-0.9.6.ORIG/src/Makefile.am check-0.9.6/src/Makefile.am
--- check-0.9.6.ORIG/src/Makefile.am	2008-12-29 06:48:45.000000000 -0700
+++ check-0.9.6/src/Makefile.am	2009-04-07 08:51:13.000000000 -0600
@@ -7,7 +7,7 @@
 
 EXTRA_DIST		= check.h.in
 
-AM_CFLAGS		= @GCOV_CFLAGS@ -ansi -pedantic 
+AM_CFLAGS		= @GCOV_CFLAGS@ -pedantic 
 
 
 CFILES =\
diff -dur check-0.9.6.ORIG/src/Makefile.in check-0.9.6/src/Makefile.in
--- check-0.9.6.ORIG/src/Makefile.in	2008-12-29 07:07:01.000000000 -0700
+++ check-0.9.6/src/Makefile.in	2009-04-07 08:51:22.000000000 -0600
@@ -206,7 +206,7 @@
 noinst_LTLIBRARIES = libcheckinternal.la
 include_HEADERS = check.h
 EXTRA_DIST = check.h.in
-AM_CFLAGS = @GCOV_CFLAGS@ -ansi -pedantic 
+AM_CFLAGS = @GCOV_CFLAGS@ -pedantic 
 CFILES = \
 	check.c		\
 	check_error.c	\


Index: check.spec
===================================================================
RCS file: /cvs/pkgs/rpms/check/F-10/check.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- check.spec	6 Jan 2009 22:08:58 -0000	1.10
+++ check.spec	7 Apr 2009 15:03:13 -0000	1.11
@@ -1,8 +1,11 @@
 Name:           check
 Version:        0.9.6
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A unit test framework for C
 Source0:        http://download.sourceforge.net/check/%{name}-%{version}.tar.gz
+# This patch fixes debian bug 519597: use of -ansi conflicts with strdup()
+# usage.  Debian sent this patch upstream already.
+Patch0:         check-0.9.6-strdup.patch
 Group:          Development/Tools
 License:        LGPLv2+
 URL:            http://check.sourceforge.net/
@@ -35,6 +38,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure CFLAGS="${RPM_OPT_FLAGS} -fPIC"
@@ -82,6 +86,9 @@
 %{_libdir}/libcheck.a
 
 %changelog
+* Tue Apr  7 2009 Jerry James <loganjerry at gmail.com> - 0.9.6-2
+- Add check-0.9.6-strdup.patch
+
 * Tue Jan  6 2009 Tom "spot" Callaway <tcallawa at redhat.com> - 0.9.6-1
 - update to 0.9.6
 




More information about the scm-commits mailing list