[Bug 225129] editors/openoffice-{4, devel}: fails to build with clang 6.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 18 07:31:44 UTC 2018


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

--- Comment #7 from commit-hook at freebsd.org ---
A commit references this bug:

Author: truckman
Date: Thu Jan 18 07:31:31 UTC 2018
New revision: 459316
URL: https://svnweb.freebsd.org/changeset/ports/459316

Log:
  Fix editors/openoffice-4 build with clang 6.0.0 by compiling with
  -std=gnu++98 since that was the default for the compilers historically
  used for the build.  It turns out that -std=c++98 does not work
  because the vigra headers depend on LLONG_MAX and friends, which
  are not defined without the GNU extensions.

  Compensate for a recent poudriere change by overriding $HOME and
  setting it to /tmp if $HOME is not writeable.  Some of the test
  code run during the build wants to use mkstemp() to create temporary
  directories under $HOME, which does not work for the "nobody" user
  which points $HOME at /nonexistent.

  No PORTREVISION bump since this is a build fix and there is no
  change to the package.

  PR:           225129
  Reported by:  jbeich

Changes:
  head/editors/openoffice-4/Makefile
  head/editors/openoffice-4/files/patch-solenv_gbuild_platform_freebsd.mk
  head/editors/openoffice-4/files/patch-solenv_inc_unxfbsd.mk

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-office mailing list