[libsrtp/f18] use __PPC64__, not __ppc64__ which is undefined on PPC64 arch

Karsten Hopp karsten at fedoraproject.org
Tue Sep 25 11:37:29 UTC 2012


commit 992fb939941e3d0ba0758c8a16da156b0675ee4b
Author: Karsten Hopp <karsten at redhat.com>
Date:   Tue Sep 25 13:37:15 2012 +0200

    use __PPC64__, not __ppc64__ which is undefined on PPC64 arch

 config.h     |    2 +-
 libsrtp.spec |    5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/config.h b/config.h
index 6612125..146b815 100644
--- a/config.h
+++ b/config.h
@@ -9,7 +9,7 @@
 #endif
 #define srtp_multilib_redirection_h
 
-#if defined(__x86_64__) || defined(__ppc64__) || (defined(__sparc__) && defined(__arch64__)) || defined(__s390x__)
+#if defined(__x86_64__) || defined(__PPC64__) || (defined(__sparc__) && defined(__arch64__)) || defined(__s390x__)
 #include "srtp/config-64.h"
 #else
 #include "srtp/config-32.h"
diff --git a/libsrtp.spec b/libsrtp.spec
index 4786982..2e1d5dc 100644
--- a/libsrtp.spec
+++ b/libsrtp.spec
@@ -3,7 +3,7 @@
 
 Name:		lib%{shortname}
 Version:	1.4.4
-Release:	5.%{cvsver}%{?dist}
+Release:	6.%{cvsver}%{?dist}
 Summary:	An implementation of the Secure Real-time Transport Protocol (SRTP)
 Group:		System Environment/Libraries
 License:	BSD
@@ -89,6 +89,9 @@ cp -a %{SOURCE2} %{buildroot}%{_includedir}/%{shortname}/config.h
 %{_libdir}/*.so
 
 %changelog
+* Tue Sep 25 2012 Karsten Hopp <karsten at redhat.com> 1.4.4-6.20101004cvs
+- use __PPC64__, not __ppc64__ which is undefined on PPC64 arch
+
 * Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.4.4-5.20101004cvs
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list