WITH_DEBUG is a user facing variable. When a user wants to build a port
with debugging symbols enabled, they either set WITH_DEBUG globally, or
WITH_DEBUG_PORTS+=category/port.
Approved by: bapt
With hat: portmgr
Differential Revision: https://reviews.freebsd.org/D23940
Clang builds using -std=gnu++98 can use the STL headers in
/usr/include/c++/v1, but recent versions of the gcc headers forbid this.
As a fallback, OpenOffice tries to use the TR1 headers supplied by boost,
but recent versions of boost no longer have those headers. In theory
the gcc TR1 headers should work, but I was not able to make those work.
Solve this problem by doing gcc builds using the "bundled" version of
boost which is much older rather that boost from ports.
Patch the "bundled" boost to fix the compiler feature detection logic
to get rid of a bunch of compiler warnings.
The headers in the ports version of vigra has some C++11 stuff that
gcc also complains about, so use the "bundled" version of vigra for
gcc builds as well.
The icu patch may only be needed for non-default values of LOCALBASE.
Comment out an unused method in basebmp/inc/basebmp/packedpixeliterator.hxx
that contains some broken code that causes gcc to error out.
Add a missing include to l10ntools/source/inireader.cxx to resolve
a compile error.
Add a missing include to scripting/source/protocolhandler/scripthandler.cxx
to resolve a compile error.
No PORTREVISION bump since amd64 and i386 builds should be unchanged.
Tested by: Curtis Hamilton clhamilto AT gmail.com
java/openjdk6 support was removed from Mk/bsd.java.mk (r512662) and
java/openjdk6 and java/openjdk6-jre were removed from the ports tree
(r512663). Now this patch completely removes remaining stuff from the
ports tree.
PR: 241953 (exp-run)
Reviewed by: glewis
Approved by: portmgr (antoine)
Differential Revision: https://reviews.freebsd.org/D22342
The build wants to include the git hash value in the build artifact
for display on the Help -> About popup, but it can't determine that
when building from a source tarball, as opposed to a git checkout.
Patch around that until upstream implements a way to include this
info into the tarball and pick it up from there.
Add xorg to USES for correctness.
patch-i127929 has been committed upstream.
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
FT_Get_Glyph() function. See
https://bz.apache.org/ooo/show_bug.cgi?id=127929 [1]
Ensure that unowinreg.dll is included in DISTFILES when running the
makesum and distclean targets.
PR: 233404 [1]
Obtained from: upstream [1]
MFH: 2018Q4
in the ports framework such that "make makesum" drops optional distfiles
from distinfo if the option to use that distfile is not enabled.
Reported by: brian mckeon <brianjwb AT gmail.com>
MFH: 2018Q4
* Fixed bugs which caused improper handling (crashes) when using
Microsoft Drawing Binary File format
* Fix a loop that visits all objects on a page so that all objects get
visited
* Updated logos
Release notes: https://s.apache.org/AOO-416releasenotes
Pet portlint (add missing USES= entries).
MFH: 2018Q4
Change x11/xorgproto to become a build time dependency when added to
USE_XORG. Change the dependency to be on the port, rather than a file the
port installs.
Fix fallout.
Bump portrevision on depending ports.
PR: 230909
Reviewed by: eadler
Approved by: portmgr (antoine)
Obtained from: https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorgproto
exp-run: antoine
Differential Revision: https://reviews.freebsd.org/D16906
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.
This includes ports
- featuring USE_GCC=yes or USE_GCC=any,
- featuring USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and those
- with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.
PR: 222542
files under $PREFIX/share/applications, symlink the individual .desktop
files. This is what upstream does on Linux and what LibreOffice does
as well. The Plasma 5 desktop ignores symlinks to directories when it
is scanning for .desktop files.
PR: 228030
Reported by: kan@FreeBSD.org
- iconv is in base in all supported FreeBSD versions
- Fix build with MariaDB 10.2 [2]
- Bump portrevision in dependencies
PR: 226705 [1], 226026 [2]
With hat: apache
Approved by: joneum (apache)
to be done with debug symbols, which greatly increase the size of the
build, but this is all in vain because the executables and libraries
are subsequently stripped.
Build with debug symbols if WITH_DEBUG is set.
Build with -fstack-protector.
Only fetch unowinreg.dll when building the SDK.
Add three new options:
CRASHDUMP - Enable crashdumps, requires WITH_DEBUG
DBGUTIL - Enable assertions, object counting, and other
non-production runtime debugging.
DEBUG - Compile with -O0 for better debugability. The ports
framework also sets WITH_DEBUG.
Fold a couple long lines in the Makefile.
and use the ccache code in the ports framework handle all of the
details.
Don't prepend ${WRKSRC}/solenv/bin to PATH in CONFIGURE_ENV since
it is no longer needed and blocks the framework from adding
CCACHE_WRAPPER_PATH to PATH in CONFIGURE_ENV and MAKE_ENV.
Sanitize MAKE_ENV and export its to the build, similar to what is
done by the default do-build target. This passes CCACHE_DIR and
HOME (set to WRKDIR) to the build, so the $HOME override in r459316
is no longer needed. We need to remove the CPPFLAGS setting from
MAKE_ENV before exporting to the build because it breaks the build
of the bundled icu module. CFLAGS and CXXFLAGS are also removed
because they would interfere with the carefully constructed compiler
flags set by the port. The include paths are already handled by
the port, and the port also modifies the optmization flags for some
files to work around compiler bugs.
While here, remove files/ooo.sh files/generate.pl since they have
been obsolete for a long while.
No PORTREVISION bump since the package should be unchanged.
PR: 224276
-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
The following bugs are fixed:
BZ 127568 Diagrams become corrupt (not retrievable) when Calc document
is saved
BZ 127580 Fix for Issue 127568 created a new bug in Base
BZ 127581 Writer crashes after copying all content
* Several updates for language dictionaries
* Some translation fixes in the UI
* Bug fixes
* Security improvements
* Updated graphics/logos (new Apache feather)
* Enhancements to the build tools (for developers)
Clarify LICENSE entries, change MPL to MPL10 and MPL11 since code with
both of these licenses is bundled.
Make the java/jakarta-commons-httpclient dependency conditional
on the WIKI_PUBLISHER option.
The java/jakarta-commons-lang dependency should also be a RUN_DEPENDS.
Add CONFLICTS_INSTALL.
Move --with-ant-home and -with-jdk-home to Makefile from Makefile.knobs.
Portlint fixes: USES/USE, ONLY_FOR_ARCHES ordering.
MFH: 2017Q4
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
c++14-lang, c++0x, c11, or gcc-c++11-lib.
PR: 219275
upcoming boost 1.65 upgrade removes support for tr1.
Sort ONLY_FOR_ARCHS to pacify portlint.
No PORTREVISION bump since the code does not appear to change.
PR: 220723
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using using Mk/bsd.octave.mk which in turn has USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
c++11-lang, c++0x, c11, or gcc-c++11-lib.
PR: 216707
sufficiently large objects returned by the "new" operator. This
requires that the object have 16-byte alignment. The FreeBSD
malloc() implementation does the correct thing here, but OpenOffice
has a couple of internal memory allocator implementations that only
align to 8-byte boundaries at most. In addition OpenOffice overrides
the new operator to interpose a couple of layers of wrappers. If
the --enable-debug option is passed to configure, the wrapper adds
8 to the size passed to the allocator and adds an 8 byte offset to
the pointer returned by the allocator to make room for a signature
that it adds to the beginning of the memory block (the signature
is validated and the inverse transformation is done when the memory
is freed). This breaks the proper alignment done by the mamory
allocator. Fix these problems by adding an EXTRA_PATCH that teaches
the internal OpenOffice memory allocators to do 16-byte alignment
and to use a 16-byte offset in the "new" wrapper, and apply this
patch on amd64 if clang 4.0 is the system compiler.
Pass the --with-alloc=system flag to configure so that the libc
version of malloc() is used instead of one of the internal memory
allocator implementations.
Fix a few mis-sorts in BUILD_DEPENDS and don't list www/p5-libwww
twice.
Fix a compile error in the bridges code when --enable-debug is
specified.
Fix a sporadic failure in the clear_001 QA test that occasionally
breaks the build. The nominal mutex hold time is 5 seconds, but
because it is only checked one per second, the actual time is more
likely to be around 6 seconds. When the before time value is
subtracted from the after time value, the result might be 7 whole
seconds and a large negative number of nanoseconds. Since the
pass/fail check only looks at the difference in the seconds fields,
it will fail the "< 7" assertion. Relax the assertion to "<= 7"
as a quick fix.
The editors/openoffice-4 port does not need poppler. It is only
needed for the PDF import extension, which is not built in OpenOffice
4.1.x.
Cherrypick some cleanups from PR 216245 [1]:
* The --without-stlport configure flag is not needed.
* Pass the -with-build-version flag to configure (but use ${PKGNAME}
for completeness instead of just ${PORTNAME}-${PORTVERSION})
* Tweak a comment in the Makefile.
PR: 216245
Submitted by: pfg [1]
Make a guess at the proper value of PACKAGE_MIDDLE for powerpc64 (needed
for solver and language packs).
A fixup for language packs on powerpc64 that was missed in the previous
commit.
Add a section to pkg-message mentioning that spell check dictionaries
for the desired languages should be installed. [2]
PR: 215130, 212103
Submitted by: Curtis Hamilton <hamiltcl@verizon.net> [1]
Submitted by: Arrigo Marchiori <ardovm AT yahoo.it> [2]