diff --git a/srcpkgs/postfix/patches/fix-building-on-musl.patch b/srcpkgs/postfix/patches/fix-building-on-musl.patch deleted file mode 100644 index 2dc55dc5ae5..00000000000 --- a/srcpkgs/postfix/patches/fix-building-on-musl.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git src/util/sys_defs.h src/util/sys_defs.h -index 5b381af..416676e 100644 ---- src/util/sys_defs.h -+++ src/util/sys_defs.h -@@ -812,7 +812,7 @@ extern int initgroups(const char *, int); - #define KERNEL_VERSION(a,b,c) (LINUX_VERSION_CODE + 1) - #endif - #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,2,0)) \ -- || (__GLIBC__ < 2) -+ || (defined(__GLIBC__) && (__GLIBC__ < 2)) - #define CANT_USE_SEND_RECV_MSG - #define DEF_SMTP_CACHE_DEMAND 0 - #else diff --git a/srcpkgs/postfix/template b/srcpkgs/postfix/template index 5b370419e10..31466126642 100644 --- a/srcpkgs/postfix/template +++ b/srcpkgs/postfix/template @@ -1,13 +1,13 @@ # Template file for 'postfix' pkgname=postfix -version=3.2.5 +version=3.3.0 revision=1 short_desc="High-performance mail transport agent" maintainer="Juan RP " license="IPL-1.0, EPL-2.0" homepage="http://www.postfix.org/" distfiles="ftp://ftp.porcupine.org/mirrors/postfix-release/official/$pkgname-$version.tar.gz" -checksum=7d0b841d3a46e7c64f392fcc4de5dd3f4bdcfd0b9e48fc235bdff6a208f0f376 +checksum=7942e89721e30118d7050675b0d976955e3160e21f7898b85a79cac4f4baef39 hostmakedepends="perl" makedepends="icu-devel libressl-devel db-devel pcre-devel libsasl-devel @@ -53,7 +53,9 @@ make_dirs=" /var/spool/postfix/trace 0700 postfix root" do_build() { - sed -e "s,\(/usr/include/db.h\),${XBPS_CROSS_BASE}/\1,g" -i makedefs + sed -e "s,\(/usr/include/db.h\),${XBPS_CROSS_BASE}/\1,g" \ + -e 's,^\(\s\+\)CCARGS="$CCARGS -DNO_EAI",\1CCARGS="$CCARGS $icu_cppflags"\n\1SYSLIBS="$SYSLIBS $icu_ldflags",' \ + -i makedefs make makefiles CCARGS=" \ -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I${XBPS_CROSS_BASE}/usr/include/sasl \