[Midnightbsd-cvs] [MidnightBSD/mports] 52f85d: editors/openoffice-4: Fix build on MidnightBSD

Lucas Holt noreply at github.com
Sun May 3 20:08:07 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/mports
  Commit: 52f85d0269187488c63ffa4546b8e342aaf83622
      https://github.com/MidnightBSD/mports/commit/52f85d0269187488c63ffa4546b8e342aaf83622
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-05-03 (Sun, 03 May 2026)

  Changed paths:
    M editors/openoffice-4/Makefile
    A editors/openoffice-4/files/icu-midnightbsd.patch
    A editors/openoffice-4/files/patch-unoxml_source_xpath_xpathapi.cxx
    A editors/openoffice-4/files/patch-writerfilter_source_ooxml_RefAndPointer.hxx
    A editors/openoffice-4/files/python-midnightbsd.patch
    A editors/openoffice-4/files/xmlsec-midnightbsd.patch

  Log Message:
  -----------
  editors/openoffice-4: Fix build on MidnightBSD

Several fixes to get Apache OpenOffice 4.1.15 building on MidnightBSD:

- Require OpenJDK 8 (JAVA_VERSION=1.8); Java 17 dropped -source/-target 1.5
  support used by AOO's Java components.

- Teach embedded config.guess scripts about MidnightBSD by appending
  platform patches during post-patch:
  * icu-midnightbsd.patch: embedded ICU 4.0.1 config.guess
  * python-midnightbsd.patch: embedded Python 2.7.18 config.guess,
    _ctypes/libffi/config.guess, and configure (LDLIBRARY, LDSHARED,
    CCSHARED, LINKFORSHARED) so Python builds as a shared library with
    -fPIC, allowing extension modules (_struct, _ctypes) to link correctly
    on x86_64 ELF.
  * xmlsec-midnightbsd.patch: embedded xmlsec1 1.2.14 config.guess

- patch-unoxml_source_xpath_xpathapi.cxx: Fix libxml2 2.12+ API change;
  xmlStructuredErrorFunc now requires const xmlError * instead of
  xmlErrorPtr.

- patch-writerfilter_source_ooxml_RefAndPointer.hxx: Fix call to
  non-existent getHandler() method; correct name is getPointer().

AI-Assisted-by: Claude Sonnet 4.6 <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>


  Commit: 03509b4b3da75a8b29692c2edffd7b8dedde3eb6
      https://github.com/MidnightBSD/mports/commit/03509b4b3da75a8b29692c2edffd7b8dedde3eb6
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-05-03 (Sun, 03 May 2026)

  Changed paths:
    M lang/rust/Makefile

  Log Message:
  -----------
  lang/rust: Fix do-install to use FAKE_DESTDIR instead of STAGEDIR

mports uses FAKE_DESTDIR for staging, not STAGEDIR. Replace all
STAGEDIR references in do-install and post-install with FAKE_DESTDIR
so the port installs correctly under bmake fake.

AI-Assisted-by: Claude Sonnet 4.6 <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>


  Commit: 9affdb3d3334958760b624e1aa6b9badc471b9cb
      https://github.com/MidnightBSD/mports/commit/9affdb3d3334958760b624e1aa6b9badc471b9cb
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-05-03 (Sun, 03 May 2026)

  Changed paths:
    M java/apache-commons-httpclient/Makefile

  Log Message:
  -----------
  java/apache-commons-httpclient: Force Java 8 build to avoid class version 61 jars

Without JAVA_VERSION= 1.8, the port compiles with whatever Java is
available (currently Java 17), producing class files at version 61.
Ports like editors/openoffice-4 that build with Java 8 cannot load
class version 61 jars, causing build failures in the wiki-publisher
mediawiki extension.

Bump PORTREVISION to ensure the package is rebuilt.

AI-Assisted-by: Claude Sonnet 4.6 <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>


  Commit: 5bb87f1f75fea7fdd638e47414b6304a90954154
      https://github.com/MidnightBSD/mports/commit/5bb87f1f75fea7fdd638e47414b6304a90954154
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-05-03 (Sun, 03 May 2026)

  Changed paths:
    M Mk/extensions/ssl.mk
    M Mk/scripts/qa.sh
    M Tools/magus/mcp.md
    M Tools/magus/www/data/magus/auth/mcp.cgi
    M converters/rubygem-base64/Makefile
    M converters/rubygem-base64/distinfo
    M databases/py-cassandra-driver/Makefile
    A databases/py-postgresql/files/patch-setup.py
    M databases/py-sqlite3/files/setup.py
    M databases/rubygem-activemodel-gitlab/Makefile
    M devel/Makefile
    M devel/onetbb/Makefile
    M devel/p5-B-Hooks-OP-Check/Makefile
    M devel/p5-Test-Simple/Makefile
    M devel/p5-Test-Simple/distinfo
    M devel/p5-Test-Simple/pkg-plist
    M devel/p5-common-sense/Makefile
    M devel/p5-goto-file/Makefile
    M devel/p5-goto-file/pkg-descr
    M devel/p5-indirect/Makefile
    M devel/p5-indirect/pkg-plist
    M devel/p5-meta/Makefile
    M devel/p5-meta/distinfo
    M devel/p5-multidimensional/Makefile
    M devel/p5-namespace-autoclean/Makefile
    M devel/p5-namespace-clean/Makefile
    M devel/plasma/Makefile
    M devel/rubygem-activejob4/Makefile
    M devel/rubygem-annoy/Makefile
    M devel/rubygem-google-protobuf/Makefile
    M devel/rubygem-launchy2/Makefile
    M devel/rubygem-rb-inotify/Makefile
    M devel/rubygem-rspec-core/Makefile
    M devel/rubygem-rspec-expectations/Makefile
    M devel/rubygem-sdoc/Makefile
    M devel/rubygem-snaky_hash/Makefile
    A devel/rubygem-version_gem/Makefile
    A devel/rubygem-version_gem/distinfo
    A devel/rubygem-version_gem/pkg-descr
    M devel/spirv-llvm-translator/Makefile
    M devel/tcl-trf/files/patch-configure
    A devel/tcl-trf/files/patch-loadman
    A devel/tcl-trf/files/patch-md5-crypt_md5.c
    M dns/Makefile
    M dns/bind918/Makefile
    M dns/bind918/distinfo
    M dns/bind918/pkg-plist
    M dns/dnsmasq/Makefile
    M dns/dnsmasq/distinfo
    A dns/nsnotifyd/Makefile
    A dns/nsnotifyd/distinfo
    A dns/nsnotifyd/files/nsnotifyd.in
    A dns/nsnotifyd/pkg-descr
    A dns/nsnotifyd/pkg-plist
    M dns/py-dnspython1/Makefile
    M dns/sleuth/Makefile
    A dns/yandex-ddns/Makefile
    A dns/yandex-ddns/distinfo
    A dns/yandex-ddns/pkg-descr
    A dns/zdns/Makefile
    A dns/zdns/distinfo
    A dns/zdns/pkg-descr
    A dns/zns/Makefile
    A dns/zns/distinfo
    A dns/zns/pkg-descr
    M emulators/bochs/Makefile
    A emulators/bochs/files/patch-config.h.in
    M finance/rubygem-money/Makefile
    A games/supertux/files/patch-src_bitmask.cpp
    M games/yadex/Makefile
    M graphics/rubygem-fastimage/Makefile
    M graphics/rubygem-fastimage/distinfo
    M mail/rubygem-mail/Makefile
    M math/Makefile
    M misc/Makefile
    A misc/box2d/Makefile
    A misc/box2d/distinfo
    A misc/box2d/pkg-descr
    A misc/box2d/pkg-plist
    M sysutils/rubygem-bundler/Makefile
    M sysutils/rubygem-bundler/distinfo
    A sysutils/rubygem-bundler/pkg-plist
    M textproc/Makefile
    A textproc/p5-HTML-Entities-Numbered/Makefile
    A textproc/p5-HTML-Entities-Numbered/distinfo
    A textproc/p5-HTML-Entities-Numbered/pkg-descr
    A textproc/p5-HTML-Entities-Numbered/pkg-plist
    M textproc/p5-XML-DOM/Makefile
    M textproc/p5-XML-Dumper/Makefile
    M textproc/p5-XML-Simple/Makefile
    M textproc/p5-XML-Stream/Makefile
    M textproc/p5-XML-Twig/Makefile
    M textproc/p5-XML-Twig/distinfo
    M textproc/p5-XML-Twig/pkg-plist
    M textproc/p5-XML-XPath/Makefile
    M textproc/p5-XString/Makefile
    M textproc/p5-YAML-Tiny/Makefile
    M textproc/p5-YAML-Tiny/distinfo
    M textproc/p5-YAML/Makefile
    M textproc/p5-libxml/Makefile
    M textproc/p5-libxml/pkg-plist
    M www/p5-libwww/Makefile
    M www/p5-libwww/distinfo
    M www/rubygem-rack/Makefile
    M www/rubygem-rack/distinfo
    M www/tdiary/Makefile
    M www/tdiary/distinfo
    M www/tdiary/files/patch-Gemfile
    M www/tdiary/pkg-plist
    M x11-fonts/p5-type1inst/Makefile

  Log Message:
  -----------
  Merge branch 'master' of ssh://github.com/MidnightBSD/mports


Compare: https://github.com/MidnightBSD/mports/compare/5aaf14e1abeb...5bb87f1f75fe

To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications


More information about the Midnightbsd-cvs mailing list