git: caab3909f4ac - main - mail/postfix: temporary build fix for FreeBSD 15.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 26 Aug 2023 16:30:24 UTC
The branch main has been updated by des: URL: https://cgit.FreeBSD.org/ports/commit/?id=caab3909f4ac054880287804817dc66d0d1175c0 commit caab3909f4ac054880287804817dc66d0d1175c0 Author: Dag-Erling Smørgrav <des@FreeBSD.org> AuthorDate: 2023-08-26 16:30:09 +0000 Commit: Dag-Erling Smørgrav <des@FreeBSD.org> CommitDate: 2023-08-26 16:30:21 +0000 mail/postfix: temporary build fix for FreeBSD 15. Reviewed by: otis Differential Revision: https://reviews.freebsd.org/D41599 --- mail/postfix/files/patch-makedefs | 18 ++++++++++++++++++ mail/postfix/files/patch-src_util_sys__defs.h | 11 +++++++++++ 2 files changed, 29 insertions(+) diff --git a/mail/postfix/files/patch-makedefs b/mail/postfix/files/patch-makedefs new file mode 100644 index 000000000000..3ad33514b02f --- /dev/null +++ b/mail/postfix/files/patch-makedefs @@ -0,0 +1,18 @@ +--- makedefs.orig 2023-04-14 13:37:45 UTC ++++ makedefs +@@ -343,6 +343,15 @@ case "$SYSTEM.$RELEASE" in + : ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"} + : ${PLUGIN_LD="${CC} -shared"} + ;; ++ FreeBSD.15*) SYSTYPE=FREEBSD15 ++ : ${CC=cc} ++ : ${SHLIB_SUFFIX=.so} ++ : ${SHLIB_CFLAGS=-fPIC} ++ : ${SHLIB_LD="${CC} -shared"' -Wl,-soname,${LIB}'} ++ : ${SHLIB_RPATH='-Wl,-rpath,${SHLIB_DIR}'} ++ : ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"} ++ : ${PLUGIN_LD="${CC} -shared"} ++ ;; + DragonFly.*) SYSTYPE=DRAGONFLY + ;; + OpenBSD.2*) SYSTYPE=OPENBSD2 diff --git a/mail/postfix/files/patch-src_util_sys__defs.h b/mail/postfix/files/patch-src_util_sys__defs.h new file mode 100644 index 000000000000..5c2e64e824c3 --- /dev/null +++ b/mail/postfix/files/patch-src_util_sys__defs.h @@ -0,0 +1,11 @@ +--- src/util/sys_defs.h.orig 2023-02-13 19:36:27 UTC ++++ src/util/sys_defs.h +@@ -31,7 +31,7 @@ + || defined(FREEBSD5) || defined(FREEBSD6) || defined(FREEBSD7) \ + || defined(FREEBSD8) || defined(FREEBSD9) || defined(FREEBSD10) \ + || defined(FREEBSD11) || defined(FREEBSD12) || defined(FREEBSD13) \ +- || defined(FREEBSD14) \ ++ || defined(FREEBSD14) || defined(FREEBSD15) \ + || defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \ + || defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \ + || defined(OPENBSD5) || defined(OPENBSD6) || defined(OPENBSD7) \