Date: Sat, 27 Oct 2018 18:14:44 +0000 (UTC) From: "Tobias C. Berner" <tcberner@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r483164 - in head/www/qt5-webkit: . files Message-ID: <201810271814.w9RIEit0056444@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tcberner Date: Sat Oct 27 18:14:44 2018 New Revision: 483164 URL: https://svnweb.freebsd.org/changeset/ports/483164 Log: www/qt5-webkit: fix build with powerpc64 PR: 232257 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> Added: head/www/qt5-webkit/files/patch-CMakeLists.txt (contents, props changed) Modified: head/www/qt5-webkit/Makefile head/www/qt5-webkit/files/patch-Source_WTF_wtf_Platform.h Modified: head/www/qt5-webkit/Makefile ============================================================================== --- head/www/qt5-webkit/Makefile Sat Oct 27 18:14:18 2018 (r483163) +++ head/www/qt5-webkit/Makefile Sat Oct 27 18:14:44 2018 (r483164) @@ -19,8 +19,9 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libpng.so:graphics/png \ libwebp.so:graphics/webp -USES= bison cmake:outsource gperf jpeg pathfix perl5 pkgconfig \ - python:2.7,build qt:5 sqlite:3 tar:xz +USES= bison cmake:outsource compiler:c++11-lang gperf jpeg \ + pathfix perl5 pkgconfig python:2.7,build qt:5 sqlite:3 \ + tar:xz USE_GNOME= glib20 libxml2 libxslt USE_GSTREAMER1= core USE_QT= core gui location network opengl printsupport \ Added: head/www/qt5-webkit/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/qt5-webkit/files/patch-CMakeLists.txt Sat Oct 27 18:14:44 2018 (r483164) @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2018-10-14 18:01:08 UTC ++++ CMakeLists.txt +@@ -73,6 +73,8 @@ elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "ppc" + set(WTF_CPU_PPC 1) + elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "ppc64") + set(WTF_CPU_PPC64 1) ++elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "powerpc64") ++ set(WTF_CPU_PPC64 1) + elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "ppc64le") + set(WTF_CPU_PPC64LE 1) + elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "parisc*") Modified: head/www/qt5-webkit/files/patch-Source_WTF_wtf_Platform.h ============================================================================== --- head/www/qt5-webkit/files/patch-Source_WTF_wtf_Platform.h Sat Oct 27 18:14:18 2018 (r483163) +++ head/www/qt5-webkit/files/patch-Source_WTF_wtf_Platform.h Sat Oct 27 18:14:44 2018 (r483164) @@ -6,7 +6,24 @@ Add proper architecture name: --- Source/WTF/wtf/Platform.h.orig 2017-06-04 20:16:06 UTC +++ Source/WTF/wtf/Platform.h -@@ -226,6 +226,7 @@ +@@ -105,11 +105,15 @@ + + /* CPU(PPC64) - PowerPC 64-bit Big Endian */ + #if ( defined(__ppc64__) \ +- || defined(__PPC64__)) \ ++ || defined(__PPC64__) \ ++ || defined(__powerpc64__)) \ + && defined(__BYTE_ORDER__) \ + && (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__) + #define WTF_CPU_PPC64 1 + #define WTF_CPU_BIG_ENDIAN 1 ++#define ENABLE_ASSEMBLER 0 ++#define ENABLE_JIT 0 ++#define ENABLE_SAMPLING_PROFILER 0 + #endif + + /* CPU(PPC64) - PowerPC 64-bit Little Endian */ +@@ -226,6 +230,7 @@ #elif defined(__ARM_ARCH_6__) \ || defined(__ARM_ARCH_6J__) \ || defined(__ARM_ARCH_6K__) \ @@ -14,8 +31,8 @@ Add proper architecture name: || defined(__ARM_ARCH_6Z__) \ || defined(__ARM_ARCH_6ZK__) \ || defined(__ARM_ARCH_6T2__) \ -@@ -272,6 +273,7 @@ - +@@ -272,6 +277,7 @@ + #elif defined(__ARM_ARCH_6J__) \ || defined(__ARM_ARCH_6K__) \ + || defined(__ARM_ARCH_6KZ__) \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810271814.w9RIEit0056444>