diff --git a/srcpkgs/pd/patches/fix-musl.patch b/srcpkgs/pd/patches/fix-musl.patch deleted file mode 100644 index 6e1d1f0eaa..0000000000 --- a/srcpkgs/pd/patches/fix-musl.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- src/x_text.c.orig 2019-08-29 10:11:27.734179939 +0200 -+++ src/x_text.c 2019-08-29 10:12:06.392225034 +0200 -@@ -475,9 +475,10 @@ found in msvcrt (which indeed it isn't i - on this, just call qsort if we're Microsoft and single-instance. I hope nobody - will try to compile multi-instance Pd for 32-bit windows, but if they - do, they might run into my qsort_s problem again. */ --#if defined(_WIN32) && !defined(PDINSTANCE) -+#if (!defined(__GLIBC__) || defined(_WIN32)) && !defined(PDINSTANCE) - #define MICROSOFT_STUPID_SORT --static void *stupid_zkeyinfo; -+#include -+thread_local static void *stupid_zkeyinfo; - static int stupid_sortcompare(const void *z1, const void *z2) { - return (text_sortcompare(z1, z2, stupid_zkeyinfo)); } - #endif diff --git a/srcpkgs/pd/template b/srcpkgs/pd/template index 7c298742f9..f40acaf973 100644 --- a/srcpkgs/pd/template +++ b/srcpkgs/pd/template @@ -1,6 +1,6 @@ # Template file for 'pd' pkgname=pd -version=0.51.2 +version=0.51.4 revision=1 _ver=${version%.*}-${version##*.} wrksrc="$pkgname-$_ver" @@ -14,7 +14,7 @@ maintainer="Andrea Brancaleoni " license="BSD-3-Clause" homepage="https://puredata.info" distfiles="http://msp.ucsd.edu/Software/pd-$_ver.src.tar.gz" -checksum=b09ad89ad6f419b410644ef7d8dcf34459d21a7ab61a593244ecfaae2ca3f3c9 +checksum=52591f18316e9f2471ca21c3d6b41c56336e0615ec40a093232e95cc230bfcc1 case "$XBPS_TARGET_MACHINE" in *-musl) # Causes pd to fail if qsort is used without thread local storage. CFLAGS="-DMICROSOFT_STUPID_SORT" ;;