[libguestfs] Add a hack to work around glibc header bug <rpc/svc.h>.
Richard W.M. Jones
rjones at fedoraproject.org
Fri Nov 30 09:43:20 UTC 2012
commit 689fddc463e689dedc219df5da5bbfa373e22277
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Fri Nov 30 09:42:55 2012 +0000
Add a hack to work around glibc header bug <rpc/svc.h>.
libguestfs.spec | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/libguestfs.spec b/libguestfs.spec
index aceb9d8..bdf7181 100644
--- a/libguestfs.spec
+++ b/libguestfs.spec
@@ -22,7 +22,7 @@ Summary: Access and modify virtual machine disk images
Name: libguestfs
Epoch: 1
Version: 1.19.65
-Release: 1%{?dist}
+Release: 2%{?dist}
License: LGPLv2+
Group: Development/Libraries
URL: http://libguestfs.org/
@@ -748,6 +748,9 @@ EOF
%define extra --with-febootstrap-yum-config=$(pwd)/yum.conf
%endif
+# Hack to work around glibc header bug <rpc/svc.h> RHBZ#882137.
+export CFLAGS="-Dattribute_hidden= %{optflags}"
+
%{configure} \
--with-default-attach-method=libvirt \
--with-extra="fedora=%{fedora},release=%{release},libvirt" \
@@ -1048,6 +1051,9 @@ mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/libguestfs
%changelog
+* Fri Nov 30 2012 Richard W.M. Jones <rjones at redhat.com> - 1:1.19.65-2
+- Add a hack to work around glibc header bug <rpc/svc.h>.
+
* Thu Nov 29 2012 Richard W.M. Jones <rjones at redhat.com> - 1:1.19.65-1
- New upstream version 1.19.65.
More information about the scm-commits
mailing list