From c9d7b8dfe3cec57e71aa29ade3f2559789d152dda9206fac3a89794201bc077c Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Mon, 12 Aug 2013 16:58:17 +0000 Subject: [PATCH] Accepting request 186776 from home:ganglia:perftools-2.1 Update gperftools to allow building with older autoconf \(2.59\), so that gperftools can build on SLE10. OBS-URL: https://build.opensuse.org/request/show/186776 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gperftools?expand=0&rev=17 --- gperftools.changes | 6 ++++++ gperftools.spec | 2 ++ gperftools_use_older_autoconf.diff | 13 +++++++++++++ 3 files changed, 21 insertions(+) create mode 100644 gperftools_use_older_autoconf.diff diff --git a/gperftools.changes b/gperftools.changes index 3094ce6..1409e59 100644 --- a/gperftools.changes +++ b/gperftools.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Aug 12 15:49:12 UTC 2013 - cgardner@suse.com + +- Fixed configure.ac to use older version of autoconf, so that + gperftools can build for SLE10. + ------------------------------------------------------------------- Tue Jul 30 17:44:01 UTC 2013 - cgardner@suse.com diff --git a/gperftools.spec b/gperftools.spec index ce251a9..6c6cf8f 100644 --- a/gperftools.spec +++ b/gperftools.spec @@ -27,6 +27,7 @@ Patch12: %{name}_fix_unassigned_malloc_in_unittest.patch Patch14: %{name}_gcc46.patch #Patch15: %{name}-glibc216.patch #Patch16: spinlock-rand.patch +Patch17: %{name}_use_older_autoconf.diff BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ @@ -69,6 +70,7 @@ files for developing applications that use the gperftools package. %patch14 -p1 #patch15 -p1 #patch16 -p1 +%patch17 -p1 %build autoreconf -fi diff --git a/gperftools_use_older_autoconf.diff b/gperftools_use_older_autoconf.diff new file mode 100644 index 0000000..588f2c8 --- /dev/null +++ b/gperftools_use_older_autoconf.diff @@ -0,0 +1,13 @@ +Index: gperftools-2.1/configure.ac +=================================================================== +--- gperftools-2.1.orig/configure.ac ++++ gperftools-2.1/configure.ac +@@ -2,7 +2,7 @@ + ## In general, the safest way to proceed is to run ./autogen.sh + + # make sure we're interpreted by some minimal autoconf +-AC_PREREQ([2.68]) ++AC_PREREQ([2.59]) + + AC_INIT([gperftools],[2.1],[google-perftools@googlegroups.com]) + # Update this value for every release! (A:B:C will map to foo.so.(A-C).C.B)