rpms/oprofile/devel oprofile-basename.patch, NONE, 1.1 oprofile.spec, 1.75, 1.76

William Eden Cohen wcohen at fedoraproject.org
Thu Apr 9 14:17:20 UTC 2009


Author: wcohen

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

Modified Files:
	oprofile.spec 
Added Files:
	oprofile-basename.patch 
Log Message:
Add configure test to generated needed HAVE_DECL_BASENAME.


oprofile-basename.patch:

--- NEW FILE oprofile-basename.patch ---
diff -up oprofile-0.9.4/configure.in.basename oprofile-0.9.4/configure.in
--- oprofile-0.9.4/configure.in.basename	2009-04-08 13:43:42.000000000 -0400
+++ oprofile-0.9.4/configure.in	2009-04-08 13:43:45.000000000 -0400
@@ -15,6 +15,7 @@ AC_INIT(libop/op_config.h)
 AM_INIT_AUTOMAKE(oprofile, 0.9.4)
 AM_CONFIG_HEADER(config.h)
 
+AC_CHECK_DECLS([basename], [], [], [[#include <libgen.h>]])
 AC_PROG_RANLIB
 AC_PROG_LIBTOOL
 


Index: oprofile.spec
===================================================================
RCS file: /cvs/pkgs/rpms/oprofile/devel/oprofile.spec,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -r1.75 -r1.76
--- oprofile.spec	8 Apr 2009 14:08:15 -0000	1.75
+++ oprofile.spec	9 Apr 2009 14:16:50 -0000	1.76
@@ -3,7 +3,7 @@
 Summary: System wide profiler
 Name: oprofile
 Version: 0.9.4
-Release: 5%{?dist}
+Release: 6%{?dist}
 License: GPLv2
 Group: Development/System
 #
@@ -14,6 +14,7 @@
 Patch63: oprofile-0.7-libs.patch
 Patch83: oprofile-0.9.3-xen.patch
 #Patch100: oprofile-gcc43.patch
+Patch101: oprofile-basename.patch
 URL: http://oprofile.sf.net
 
 ExclusiveArch: %{ix86} ia64 x86_64 ppc ppc64 s390 s390x alpha alphaev6 sparcv9 sparc64
@@ -82,6 +83,7 @@
 %patch63 -p1 -b .libs
 %patch83 -p1 -b .xen
 #%patch100 -p1 -b .gcc43
+%patch101 -p1 -b .basename
 
 ./autogen.sh
 
@@ -223,6 +225,9 @@
 /etc/ld.so.conf.d/*
 
 %changelog
+* Wed Apr 8 2009 Will Cohen <wcohen at redhat.com> - 0.9.4-6
+- Test for basename declaration.
+
 * Wed Apr 8 2009 Will Cohen <wcohen at redhat.com> - 0.9.4-5
 - Bump version and rebuild.
 




More information about the scm-commits mailing list