Re: git: 19a93ee6d921 - main - editors/libreoffice: better fix for powerpc*

From: Piotr Kubaj <pkubaj_at_anongoth.pl>
Date: Mon, 12 Jun 2023 15:40:06 UTC
On 23-06-12 18:27:33, Vladimir Druzenko wrote:
> 12.06.2023 18:14, Piotr Kubaj пишет:
> > The branch main has been updated by pkubaj:
> >
> > URL: https://cgit.FreeBSD.org/ports/commit/?id=19a93ee6d9218bcc2e4a1506e20015d84a84ee21
> >
> > commit 19a93ee6d9218bcc2e4a1506e20015d84a84ee21
> > Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
> > AuthorDate: 2023-06-12 13:16:06 +0000
> > Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
> > CommitDate: 2023-06-12 15:14:19 +0000
> >
> >      editors/libreoffice: better fix for powerpc*
> >      
> >      Fixes broken colors on powerpc64.
> >      
> >      Obtained from:  Chimera Linux
> > ---
> >   editors/libreoffice/Makefile                       |   6 +-
> >   editors/libreoffice/files/patch-powerpc64          | 955 +++++++++++++++++++++
> >   ...es-source-cpp_uno-gcc3_linux_powerpc-except.cxx | 140 ---
> >   ...ges-source-cpp_uno-gcc3_linux_powerpc-share.hxx | 106 ---
> >   ...source-cpp_uno-gcc3_linux_powerpc64-cpp2uno.cxx |  79 --
> >   ...-source-cpp_uno-gcc3_linux_powerpc64-except.cxx | 120 ---
> >   ...s-source-cpp_uno-gcc3_linux_powerpc64-share.hxx | 106 ---
> >   .../patch-cppuhelper_source_exc__thrower.cxx       |  10 -
> >   ...atch-desktop_source_deployment_misc_dp__ucb.cxx |  20 -
> >   .../patch-include_com_sun_star_uno_Reference.h     |  11 -
> >   .../patch-include_com_sun_star_uno_Reference.hxx   |  20 -
> >   .../files/powerpc64/patch-include_uno_mapping.hxx  |  10 -
> >   .../powerpc64/patch-ucb_source_ucp_file_bc.cxx     |  10 -
> >   13 files changed, 956 insertions(+), 637 deletions(-)
> >
> > diff --git a/editors/libreoffice/Makefile b/editors/libreoffice/Makefile
> > index 61696b6647a6..9b1d23153f08 100644
> > --- a/editors/libreoffice/Makefile
> > +++ b/editors/libreoffice/Makefile
> > @@ -1,4 +1,4 @@
> > -PORTREVISION=	0
> > +PORTREVISION=	1
> >   
> >   .include "${.CURDIR}/Makefile.common"
> >   
> > @@ -339,10 +339,6 @@ BINARY_ALIAS=	sed=gsed
> >   BROKEN=	please update FreeBSD base system first to fix an ABI incompatibility
> >   .endif
> >   
> > -.if ${ARCH:Mpowerpc*}
> > -EXTRA_PATCHES+=	${FILESDIR}/powerpc64
> > -.endif
> > -
> >   .if ${ARCH} == powerpc || ${ARCH} == powerpcspe || ${ARCH} == powerpc64
> >   CONFIGURE_ARGS+=	--disable-skia
> >   .endif
> >
> > < cut >
> >
> > *** 724 LINES SKIPPED ***
> 
> Bump…
> Just update libreoffice on my hosts and now rebuild it again without 
> single change for amd64…
> 
> Is it possible to change version for installed port without 
> reinstall/rebuild it?


You would need to update the pkg's sqlite database directly with pkg
shell, but I'm not sure how it's done.
> 
> -- 
> Best regards,
> Vladimir Druzenko
>