noodles pushed to ganglia (el5). "- Work-around for incorrectly hard-coded libdir on ppc64"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Apr 22 02:48:26 UTC 2015


>From 656692e52d593b7cefc52918ec4ba837a3884209 Mon Sep 17 00:00:00 2001
From: Jarod Wilson <jwilson at fedoraproject.org>
Date: Fri, 13 Jun 2008 14:28:44 +0000
Subject: - Work-around for incorrectly hard-coded libdir on ppc64


diff --git a/ganglia-3.1.0-r1399-ppc64build.patch b/ganglia-3.1.0-r1399-ppc64build.patch
new file mode 100644
index 0000000..a923d40
--- /dev/null
+++ b/ganglia-3.1.0-r1399-ppc64build.patch
@@ -0,0 +1,22 @@
+--- ganglia-3.1.0.1399/configure.in.orig	2008-06-13 10:23:06.000000000 -0400
++++ ganglia-3.1.0.1399/configure.in	2008-06-13 10:23:24.000000000 -0400
+@@ -574,7 +574,7 @@ if test "x$prefix" = xNONE; then
+   prefix="$ac_default_prefix"
+ fi
+ 
+-if test "x$host_cpu" = "xx86_64"; then
++if test "x$host_cpu" = "xx86_64" || test "x$host_cpu" = "xppc64"; then
+   libdir="$prefix/lib64"
+ else
+   libdir="$prefix/lib"
+--- ganglia-3.1.0.1399/configure.orig	2008-06-13 10:24:45.000000000 -0400
++++ ganglia-3.1.0.1399/configure	2008-06-13 10:25:33.000000000 -0400
+@@ -24225,7 +24225,7 @@ if test "x$prefix" = xNONE; then
+   prefix="$ac_default_prefix"
+ fi
+ 
+-if test "x$host_cpu" = "xx86_64"; then
++if test "x$host_cpu" = "xx86_64" || test "x$host_cpu" = "xppc64"; then
+   libdir="$prefix/lib64"
+ else
+   libdir="$prefix/lib"
diff --git a/ganglia.spec b/ganglia.spec
index e283308..4c50d8f 100644
--- a/ganglia.spec
+++ b/ganglia.spec
@@ -2,7 +2,7 @@
 
 Name:               ganglia
 Version:            3.1.0
-Release:            0.1%{?svnrev:.r%{svnrev}}%{?dist}
+Release:            0.2%{?svnrev:.r%{svnrev}}%{?dist}
 Summary:            Ganglia Distributed Monitoring System
 
 Group:              Applications/Internet
@@ -10,6 +10,7 @@ License:            BSD
 URL:                http://ganglia.sourceforge.net/
 Source0:            http://www.ganglia.info/snapshots/3.1.x/%{name}-%{version}.%{svnrev}.tar.gz
 #Source0:            http://dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
+Patch0:             ganglia-3.1.0-r1399-ppc64build.patch
 Buildroot:          %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:      rrdtool-devel, apr-devel >= 1
@@ -89,6 +90,7 @@ programmers can use to build scalable cluster or grid applications
 
 %prep
 %setup -q -n %{name}-%{version}.%{svnrev}
+%patch0 -p1
 ## Hey, those shouldn't be executable...
 chmod -x lib/*.{h,x}
 
@@ -250,6 +252,9 @@ fi
 %{_datadir}/%{name}
 
 %changelog
+* Fri Jun 13 2008 Jarod Wilson <jwilson at redhat.com> 3.1.0-0.2.r1399
+- Work-around for incorrectly hard-coded libdir on ppc64
+
 * Wed Jun 11 2008 Jarod Wilson <jwilson at redhat.com> 3.1.0-0.1.r1399
 - Update to 3.1.x pre-release snapshot, svn rev 1399
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/ganglia.git/commit/?h=el5&id=656692e52d593b7cefc52918ec4ba837a3884209


More information about the scm-commits mailing list