diff --git a/ccrtp-ppc64.patch b/ccrtp-ppc64.patch new file mode 100644 index 0000000..cfbb366 --- /dev/null +++ b/ccrtp-ppc64.patch @@ -0,0 +1,13 @@ +Index: ccrtp-2.0.1/CMakeLists.txt +=================================================================== +--- ccrtp-2.0.1.orig/CMakeLists.txt ++++ ccrtp-2.0.1/CMakeLists.txt +@@ -32,7 +32,7 @@ set (PACKAGE ccrtp) + # this caused problems in debian where it has to always be lib.... + set(LIB64 "") + if (NOT EXISTS /etc/debian_version) +- if ( "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64" ) ++ if ( "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64" OR "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "ppc64" ) + set(LIB64 "64") + endif() + endif() diff --git a/ccrtp.changes b/ccrtp.changes index fc7e390..faf9b71 100644 --- a/ccrtp.changes +++ b/ccrtp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 15 14:30:25 UTC 2012 - dvaleev@suse.com + +- ppc64 should also install libs in /usr/lib64 + ------------------------------------------------------------------- Tue Sep 27 08:04:52 UTC 2011 - coolo@suse.com diff --git a/ccrtp.spec b/ccrtp.spec index 6758f8c..290b2c5 100644 --- a/ccrtp.spec +++ b/ccrtp.spec @@ -26,6 +26,7 @@ Summary: A Common C++ Class Framework for RTP Packets Url: http://www.gnu.org/software/ccrtp/ Group: System/Libraries Source0: %{name}-%{version}.tar.bz2 +Patch1: ccrtp-ppc64.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: libgcrypt-devel @@ -66,6 +67,7 @@ ccrtp %prep %setup -q -n ccrtp-%{version} +%patch1 -p1 %build mkdir build