Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Oct 2016 12:37:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        office@FreeBSD.org
Subject:   [Bug 213768] [patch] editors/libreoffice erroneous curly brace in an old r395799 patch for FBSD 9x breaks lang/gcc5 build
Message-ID:  <bug-213768-25061@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213768

            Bug ID: 213768
           Summary: [patch] editors/libreoffice erroneous curly brace in
                    an old r395799 patch for FBSD 9x breaks lang/gcc5
                    build
           Product: Ports & Packages
           Version: Latest
          Hardware: i386
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: kennethsalerno@yahoo.com
                CC: gerald@FreeBSD.org, office@FreeBSD.org
          Keywords: patch
                CC: gerald@FreeBSD.org, office@FreeBSD.org

Created attachment 176138
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D176138&action=
=3Dedit
remove extra curly brace in patch

Patch from r395799 breaks lang/gcc5 build:

------------------------------------------------------------------------
r395799 | jkim | 2015-09-01 21:26:44 +0000 (Tue, 01 Sep 2015) | 9 lines

Update LibreOffice to 5.0.1.

Unfortunately, LibreOffice project completely dropped support for pre-C++11
compilers and libraries since 4.4.  Therefore, we cannot easily build it on
FeeBSD 9.x any more unless the system was rebuilt with WITH_CLANG_IS_CC and
WITH_LIBCPLUSPLUS.  If user is unable to upgrade the system for some reason,
the old port, i.e., 4.3.7, is still available from devel/libreoffice4 (with
no language packs).

------------------------------------------------------------------------

Specifically, there was an extra '}' added in the patch that caused this er=
ror
when compiling libreoffice with gcc5:

In file included from
/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-5.
0.6.3/bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.cxx:33:0:
/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-5.0.6.3/bridges/sou=
rce/c
pp_uno/gcc3_linux_intel/share.hxx:131:1: error: expected declaration before=
 '}'=20
token
 }
 ^

patch attached to patch the patch :)

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



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