Hello community,

here is the log from the commit of package cpprest for openSUSE:Factory checked 
in at 2015-06-30 10:18:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cpprest (Old)
 and      /work/SRC/openSUSE:Factory/.cpprest.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cpprest"

Changes:
--------
--- /work/SRC/openSUSE:Factory/cpprest/cpprest.changes  2015-06-12 
20:32:15.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.cpprest.new/cpprest.changes     2015-06-30 
10:18:54.000000000 +0200
@@ -1,0 +2,10 @@
+Sun Jun 28 13:11:08 UTC 2015 - [email protected]
+
+- fix architecture builds
+
+-------------------------------------------------------------------
+Wed Jun 24 10:04:53 UTC 2015 - [email protected]
+
+- Add cpprest-pthread.patch to fix unit test linking 
+
+-------------------------------------------------------------------

New:
----
  _constraints
  cpprest-pthread.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cpprest.spec ++++++
--- /var/tmp/diff_new_pack.Dl4fhq/_old  2015-06-30 10:18:55.000000000 +0200
+++ /var/tmp/diff_new_pack.Dl4fhq/_new  2015-06-30 10:18:55.000000000 +0200
@@ -26,6 +26,7 @@
 Group:          Devlopment/Libraries/C and C++
 Url:            https://casablanca.codeplex.com/
 Source:         
http://download-codeplex.sec.s-msft.com/Download/SourceControlFileDownload.ashx?ProjectName=casablanca&changeSetId=c7d85ee385c6#/%{name}-%{version}.zip
+Patch1:         cpprest-pthread.patch
 BuildRequires:  boost-devel
 BuildRequires:  cmake >= 2.6
 BuildRequires:  gcc-c++
@@ -63,9 +64,15 @@
 
 %prep
 %setup -q -c
+%patch1 -p1
 
 %build
-%cmake -DCMAKE_BUILD_TYPE=Release ../Release
+%cmake \
+       -DCMAKE_BUILD_TYPE=Release \
+%ifarch ppc ppc64 ppc64le aarch64 armv7l
+       -DCMAKE_CXX_FLAGS:STRING="%{optflags} -Wno-error=attributes 
-Wno-error=type-limits -Wno-error=cast-align 
-Wno-error=deprecated-declarations" \
+%endif
+       ../Release
 make %{?_smp_mflags}
 
 %install


++++++ cpprest-pthread.patch ++++++
Index: x/Release/tests/common/UnitTestpp/CMakeLists.txt
===================================================================
--- x.orig/Release/tests/common/UnitTestpp/CMakeLists.txt
+++ x/Release/tests/common/UnitTestpp/CMakeLists.txt
@@ -49,4 +49,4 @@ elseif(WIN32)
 endif()
 
 add_library(${LIB}unittestpp ${UT_SOURCES})
-target_link_libraries(${LIB}unittestpp ${ANDROID_STL_FLAGS})
\ No newline at end of file
+target_link_libraries(${LIB}unittestpp ${ANDROID_STL_FLAGS} pthread)

Reply via email to