[Bug 213768] [patch] editors/libreoffice erroneous curly brace in an old r395799 patch for FBSD 9x breaks lang/gcc5 build

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Oct 25 12:37:37 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213768

            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 at FreeBSD.org
          Reporter: kennethsalerno at yahoo.com
                CC: gerald at FreeBSD.org, office at FreeBSD.org
          Keywords: patch
                CC: gerald at FreeBSD.org, office at FreeBSD.org

Created attachment 176138
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=176138&action=edit
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 error
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/source/c
pp_uno/gcc3_linux_intel/share.hxx:131:1: error: expected declaration before '}' 
token
 }
 ^

patch attached to patch the patch :)

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


More information about the freebsd-office mailing list