Page MenuHomeFreeBSD

D50769.1775457455.diff
No OneTemporary

Size
9 KB
Referenced Files
None
Subscribers
None

D50769.1775457455.diff

diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -1165,7 +1165,7 @@
. endif
_EXPORTED_VARS+= OSVERSION
-. if ${OPSYS} == FreeBSD && (${OSVERSION} < 1304000 || (${OSVERSION} >= 1400000 && ${OSVERSION} < 1402000))
+. if ${OPSYS} == FreeBSD && (${OSVERSION} < 1305000 || (${OSVERSION} >= 1400000 && ${OSVERSION} < 1402000))
_UNSUPPORTED_SYSTEM_MESSAGE= Ports Collection support for your ${OPSYS} version has ended, and no ports\
are guaranteed to build on this system. Please upgrade to a supported release.
. if defined(ALLOW_UNSUPPORTED_SYSTEM)
diff --git a/audio/ardour/Makefile b/audio/ardour/Makefile
--- a/audio/ardour/Makefile
+++ b/audio/ardour/Makefile
@@ -116,9 +116,7 @@
# Some peripheral libraries are only built with libusb-1.0 >= 1.0.16
.if ${OPSYS} == FreeBSD && \
- (${OSVERSION} <= 1304500 \
- || 1400000 <= ${OSVERSION} && ${OSVERSION} <= 1401502 \
- || 1500000 <= ${OSVERSION} && ${OSVERSION} <= 1500019)
+ (1500000 <= ${OSVERSION} && ${OSVERSION} <= 1500019)
PLIST_SUB+= LIBUSB="@comment "
.else
PLIST_SUB+= LIBUSB=""
diff --git a/lang/crystal/Makefile b/lang/crystal/Makefile
--- a/lang/crystal/Makefile
+++ b/lang/crystal/Makefile
@@ -69,15 +69,6 @@
IGNORE= not supported on anything but FreeBSD
.endif
-# crystal needs pkgconfig to determine SSL variants but these are not
-# present in FreeBSD base. We splice in the correct info based on
-# FreeBSD version and hope it doesn't change during minor releases.
-# See post-patch for the substitutions of these patches.
-.if ${SSL_DEFAULT} == "base" && ${OSREL:R} < 13
-EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src_openssl_lib__crypto.cr \
- ${PATCHDIR}/extra-patch-src_openssl_lib__ssl.cr
-.endif
-
post-extract:
@${RLN} ${WRKDIR}/.build ${WRKSRC}
@${RLN} x86_64-freebsd ${WRKSRC}/src/lib_c/aarch64-freebsd
diff --git a/lang/crystal/files/extra-patch-src_openssl_lib__crypto.cr b/lang/crystal/files/extra-patch-src_openssl_lib__crypto.cr
deleted file mode 100644
--- a/lang/crystal/files/extra-patch-src_openssl_lib__crypto.cr
+++ /dev/null
@@ -1,46 +0,0 @@
---- src/openssl/lib_crypto.cr.orig 2022-04-09 14:20:55.000000000 -0700
-+++ src/openssl/lib_crypto.cr 2022-04-09 14:15:51.000000000 -0700
-@@ -1,31 +1,7 @@
- {% begin %}
- lib LibCrypto
-- {% if flag?(:win32) %}
-- {% from_libressl = false %}
-- {% ssl_version = nil %}
-- {% for dir in Crystal::LIBRARY_PATH.split(';') %}
-- {% unless ssl_version %}
-- {% config_path = "#{dir.id}\\openssl_VERSION" %}
-- {% if config_version = read_file?(config_path) %}
-- {% ssl_version = config_version.chomp %}
-- {% end %}
-- {% end %}
-- {% end %}
-- {% ssl_version ||= "0.0.0" %}
-- {% else %}
-- {% from_libressl = (`hash pkg-config 2> /dev/null || printf %s false` != "false") &&
-- (`test -f $(pkg-config --silence-errors --variable=includedir libcrypto)/openssl/opensslv.h || printf %s false` != "false") &&
-- (`printf "#include <openssl/opensslv.h>\nLIBRESSL_VERSION_NUMBER" | ${CC:-cc} $(pkg-config --cflags --silence-errors libcrypto || true) -E -`.chomp.split('\n').last != "LIBRESSL_VERSION_NUMBER") %}
-- {% ssl_version = `hash pkg-config 2> /dev/null && pkg-config --silence-errors --modversion libcrypto || printf %s 0.0.0`.split.last.gsub(/[^0-9.]/, "") %}
-- {% end %}
--
-- {% if from_libressl %}
-- LIBRESSL_VERSION = {{ ssl_version }}
-- OPENSSL_VERSION = "0.0.0"
-- {% else %}
-- LIBRESSL_VERSION = "0.0.0"
-- OPENSSL_VERSION = {{ ssl_version }}
-- {% end %}
-+ LIBRESSL_VERSION = "0.0.0"
-+ OPENSSL_VERSION = "CRYSTAL_SSL_VERSION"
- end
- {% end %}
-
-@@ -34,7 +10,7 @@
- @[Link("crypt32")] # CertOpenStore, ...
- @[Link("user32")] # GetProcessWindowStation, GetUserObjectInformationW, _MessageBoxW
- {% else %}
-- @[Link(ldflags: "`command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libcrypto || printf %s '-lcrypto'`")]
-+ @[Link(ldflags: "-LCRYSTAL_SSL_LDFLAGS -lcrypto")]
- {% end %}
- lib LibCrypto
- alias Char = LibC::Char
-
diff --git a/lang/crystal/files/extra-patch-src_openssl_lib__ssl.cr b/lang/crystal/files/extra-patch-src_openssl_lib__ssl.cr
deleted file mode 100644
--- a/lang/crystal/files/extra-patch-src_openssl_lib__ssl.cr
+++ /dev/null
@@ -1,42 +0,0 @@
---- src/openssl/lib_ssl.cr.orig 2022-04-09 14:24:40.000000000 -0700
-+++ src/openssl/lib_ssl.cr 2022-04-09 14:24:07.000000000 -0700
-@@ -6,32 +6,8 @@
-
- {% begin %}
- lib LibSSL
-- {% if flag?(:win32) %}
-- {% from_libressl = false %}
-- {% ssl_version = nil %}
-- {% for dir in Crystal::LIBRARY_PATH.split(';') %}
-- {% unless ssl_version %}
-- {% config_path = "#{dir.id}\\openssl_VERSION" %}
-- {% if config_version = read_file?(config_path) %}
-- {% ssl_version = config_version.chomp %}
-- {% end %}
-- {% end %}
-- {% end %}
-- {% ssl_version ||= "0.0.0" %}
-- {% else %}
-- {% from_libressl = (`hash pkg-config 2> /dev/null || printf %s false` != "false") &&
-- (`test -f $(pkg-config --silence-errors --variable=includedir libssl)/openssl/opensslv.h || printf %s false` != "false") &&
-- (`printf "#include <openssl/opensslv.h>\nLIBRESSL_VERSION_NUMBER" | ${CC:-cc} $(pkg-config --cflags --silence-errors libssl || true) -E -`.chomp.split('\n').last != "LIBRESSL_VERSION_NUMBER") %}
-- {% ssl_version = `hash pkg-config 2> /dev/null && pkg-config --silence-errors --modversion libssl || printf %s 0.0.0`.split.last.gsub(/[^0-9.]/, "") %}
-- {% end %}
--
-- {% if from_libressl %}
-- LIBRESSL_VERSION = {{ ssl_version }}
-- OPENSSL_VERSION = "0.0.0"
-- {% else %}
-- LIBRESSL_VERSION = "0.0.0"
-- OPENSSL_VERSION = {{ ssl_version }}
-- {% end %}
-+ LIBRESSL_VERSION = "0.0.0"
-+ OPENSSL_VERSION = "CRYSTAL_SSL_VERSION"
- end
- {% end %}
-
--@[Link(ldflags: "`command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libssl || printf %s '-lssl -lcrypto'`")]
-+@[Link(ldflags: "-LCRYSTAL_SSL_LDFLAGS -lssl")]
- lib LibSSL
- alias Int = LibC::Int
- alias Char = LibC::Char
diff --git a/net/udt/files/BSDmakefile b/net/udt/files/BSDmakefile
--- a/net/udt/files/BSDmakefile
+++ b/net/udt/files/BSDmakefile
@@ -15,10 +15,7 @@
CXXFLAGS+= -Wno-system-headers -Wall -W \
-Wpointer-arith -Wreturn-type \
-Wwrite-strings -Wswitch -Wno-cast-align \
- -Wunused-parameter -Werror
-
-.if ${OSVERSION} >= 1304000
-CXXFLAGS+= -Wno-vla-cxx-extension
-.endif
+ -Wunused-parameter -Werror \
+ -Wno-vla-cxx-extension
.include <bsd.lib.mk>
diff --git a/x11-toolkits/aquamarine/Makefile b/x11-toolkits/aquamarine/Makefile
--- a/x11-toolkits/aquamarine/Makefile
+++ b/x11-toolkits/aquamarine/Makefile
@@ -31,10 +31,4 @@
GH_ACCOUNT= hyprwm
PLIST_SUB= VERSION=${DISTVERSION:C/-.*//}
-# XXX Drop after FreeBSD 13.4 EOL around 2026-01-31
-# https://cgit.freebsd.org/src/commit/?id=af93fea71038
-.if !exists(/usr/include/sys/timerfd.h)
-LIB_DEPENDS+= libepoll-shim.so:devel/libepoll-shim
-.endif
-
.include <bsd.port.mk>
diff --git a/x11-wm/hyprland/Makefile b/x11-wm/hyprland/Makefile
--- a/x11-wm/hyprland/Makefile
+++ b/x11-wm/hyprland/Makefile
@@ -45,12 +45,6 @@
# Generated by "make update-hash" for commit_pins in hyprpm.toml
GH_HASH= 29e2e59fdbab8ed2cc23a20e3c6043d5decb5cdc
-# XXX Drop after FreeBSD 13.4 EOL around 2026-01-31
-# https://cgit.freebsd.org/src/commit/?id=af93fea71038
-.if !exists(/usr/include/sys/timerfd.h)
-LIB_DEPENDS+= libepoll-shim.so:devel/libepoll-shim
-.endif
-
OPTIONS_DEFINE= QT6 X11
OPTIONS_DEFAULT=QT6 X11
diff --git a/x11/swayimg/Makefile b/x11/swayimg/Makefile
--- a/x11/swayimg/Makefile
+++ b/x11/swayimg/Makefile
@@ -32,12 +32,6 @@
${DATADIR}/${PORTNAME}rc \
${NULL}
-# XXX Drop after FreeBSD 13.4 EOL around 2026-01-31
-# https://cgit.freebsd.org/src/commit/?id=af93fea71038
-.if !exists(/usr/include/sys/timerfd.h)
-LIB_DEPENDS+= libepoll-shim.so:devel/libepoll-shim
-.endif
-
OPTIONS_DEFINE= AVIF BASH GIF HEIF JPEG JSON JXL LIBEXIF LIBRSVG2 \
OPENEXR PNG RAW SIXEL TIFF WEBP ZSH
OPTIONS_DEFAULT=AVIF BASH GIF HEIF JPEG JSON JXL LIBEXIF LIBRSVG2 \
diff --git a/x11/wmenu/Makefile b/x11/wmenu/Makefile
--- a/x11/wmenu/Makefile
+++ b/x11/wmenu/Makefile
@@ -18,14 +18,6 @@
USES= compiler:c11 gnome meson pkgconfig
USE_GNOME= cairo pango
-# XXX Drop after FreeBSD 13.4 EOL around 2026-01-31
-# https://cgit.freebsd.org/src/commit/?id=af93fea71038
-.if !exists(/usr/include/sys/timerfd.h)
-LIB_DEPENDS+= libepoll-shim.so:devel/libepoll-shim
-CPPFLAGS+= `pkg-config --cflags epoll-shim`
-LDFLAGS+= `pkg-config --libs epoll-shim`
-.endif
-
WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST_FILES= bin/wmenu \
diff --git a/x11/xdg-desktop-portal-wlr/Makefile b/x11/xdg-desktop-portal-wlr/Makefile
--- a/x11/xdg-desktop-portal-wlr/Makefile
+++ b/x11/xdg-desktop-portal-wlr/Makefile
@@ -32,12 +32,6 @@
share/dbus-1/services/org.freedesktop.impl.portal.desktop.wlr.service \
share/xdg-desktop-portal/portals/wlr.portal
-# XXX Drop after FreeBSD 13.4 EOL around 2026-01-31
-# https://cgit.freebsd.org/src/commit/?id=af93fea71038
-.if !exists(/usr/include/sys/timerfd.h)
-LIB_DEPENDS+= libepoll-shim.so:devel/libepoll-shim
-.endif
-
OPTIONS_DEFINE= MANPAGES
OPTIONS_DEFAULT=MANPAGES

File Metadata

Mime Type
text/plain
Expires
Mon, Apr 6, 6:37 AM (7 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28271530
Default Alt Text
D50769.1775457455.diff (9 KB)

Event Timeline