r21804 by jghali - #14656: fails to build on big endian architectures

scribus-commit scribus-commit at lists.scribus.net
Wed Mar 1 23:39:19 UTC 2017


Author: jghali
Date: Wed Mar  1 23:39:19 2017
New Revision: 21804

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21804
Log:
#14656: fails to build on big endian architectures

Modified:
    trunk/Scribus/CMakeLists.txt
    trunk/Scribus/config.h.cmake

Modified: trunk/Scribus/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21804&path=/trunk/Scribus/CMakeLists.txt
==============================================================================
--- trunk/Scribus/CMakeLists.txt	(original)
+++ trunk/Scribus/CMakeLists.txt	Wed Mar  1 23:39:19 2017
@@ -713,6 +713,8 @@
 		message("OSG found OK")
 		set(HAVE_OSG 1)
 		find_package(OpenGL)
+		include(CheckFunctionExists)
+		CHECK_FUNCTION_EXISTS(memrchr HAVE_MEMRCHR)
 	else()
 		message("No OSG found, building without 3D Extension")
 	endif()

Modified: trunk/Scribus/config.h.cmake
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21804&path=/trunk/Scribus/config.h.cmake
==============================================================================
--- trunk/Scribus/config.h.cmake	(original)
+++ trunk/Scribus/config.h.cmake	Wed Mar  1 23:39:19 2017
@@ -26,6 +26,7 @@
 #cmakedefine HAVE_PODOFO 1
 #cmakedefine HAVE_POPPLER 1
 #cmakedefine HAVE_OSG 1
+#cmakedefine HAVE_MEMRCHR 1
 #cmakedefine HAVE_BOOST 1
 #cmakedefine HAVE_SINCOS
 #cmakedefine HAVE_ROUND




More information about the scribus-commit mailing list