Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Feb 2021 19:30:56 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r566182 - in head/editors/libreoffice6: . files files/powerpc64
Message-ID:  <202102201930.11KJUuWc018756@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Sat Feb 20 19:30:55 2021
New Revision: 566182
URL: https://svnweb.freebsd.org/changeset/ports/566182

Log:
  editors/libreoffice6: backport powerpc* patches to libreoffice6
  
  Approved by:	tier 2 blanket

Added:
  head/editors/libreoffice6/files/powerpc64/
     - copied from r566163, head/editors/libreoffice/files/powerpc64/
Modified:
  head/editors/libreoffice6/Makefile
  head/editors/libreoffice6/files/patch-powerpc

Modified: head/editors/libreoffice6/Makefile
==============================================================================
--- head/editors/libreoffice6/Makefile	Sat Feb 20 19:07:47 2021	(r566181)
+++ head/editors/libreoffice6/Makefile	Sat Feb 20 19:30:55 2021	(r566182)
@@ -288,6 +288,10 @@ MAKE_ENV+=	verbose=1
 WARNING=	"GTK3 visual style is incomplete yet, build at your own risk"
 .endif
 
+.if ${ARCH:Mpowerpc*}
+EXTRA_PATCHES+=	${FILESDIR}/powerpc64
+.endif
+
 .if ${CHOSEN_COMPILER_TYPE} == clang
 CXXFLAGS_WARN=	-Woverloaded-virtual -Wno-unused-parameter -Wno-unused-local-typedefs
 .else

Modified: head/editors/libreoffice6/files/patch-powerpc
==============================================================================
--- head/editors/libreoffice6/files/patch-powerpc	Sat Feb 20 19:07:47 2021	(r566181)
+++ head/editors/libreoffice6/files/patch-powerpc	Sat Feb 20 19:30:55 2021	(r566182)
@@ -1,6 +1,6 @@
 --- configure.ac.orig	2019-08-08 20:00:41.682261000 +0800
 +++ configure.ac	2019-08-08 20:01:10.652575000 +0800
-@@ -4278,6 +4278,16 @@
+@@ -4278,6 +4278,21 @@
          RTL_ARCH=X86_64
          PLATFORMID=freebsd_x86_64
          ;;
@@ -9,6 +9,11 @@
 +        RTL_ARCH=PowerPC_64
 +        PLATFORMID=freebsd_powerpc64
 +        ;;
++    powerpc64le)
++        CPUNAME=POWERPC64
++        RTL_ARCH=PowerPC_64
++        PLATFORMID=freebsd_powerpc64_le
++        ;;
 +    powerpc|powerpcspe)
 +        CPUNAME=POWERPC
 +        RTL_ARCH=PowerPC
@@ -19,7 +24,7 @@
          ;;
 --- configure.orig	2019-08-07 01:54:44.000000000 +0800
 +++ configure	2019-08-08 20:00:26.166619000 +0800
-@@ -12537,6 +12537,16 @@
+@@ -12537,6 +12537,21 @@
           PLATFORMID=freebsd_aarch64
           RTL_ARCH=AARCH64
           ;;
@@ -27,6 +32,11 @@
 +        CPUNAME=POWERPC64
 +        RTL_ARCH=PowerPC_64
 +        PLATFORMID=freebsd_powerpc64
++        ;;
++    powerpc64le)
++        CPUNAME=POWERPC64
++        RTL_ARCH=PowerPC_64
++        PLATFORMID=freebsd_powerpc64_le
 +        ;;
 +    powerpc|powerpcspe)
 +        CPUNAME=POWERPC



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102201930.11KJUuWc018756>