Accepting request 186780 from devel:libraries:c_c++

Update gperftools to allow building with older autoconf \(2.59\), so that gperftools can build on SLE10. (forwarded request 186776 from ganglia)

OBS-URL: https://build.opensuse.org/request/show/186780
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gperftools?expand=0&rev=7
This commit is contained in:
Tomáš Chvátal 2013-08-13 10:53:37 +00:00 committed by Git OBS Bridge
commit cf2747e29c
3 changed files with 21 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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)