pd: update to 0.51.4.
This commit is contained in:
parent
0a114eca48
commit
f3d875680c
|
@ -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 <threads.h>
|
|
||||||
+thread_local static void *stupid_zkeyinfo;
|
|
||||||
static int stupid_sortcompare(const void *z1, const void *z2) {
|
|
||||||
return (text_sortcompare(z1, z2, stupid_zkeyinfo)); }
|
|
||||||
#endif
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'pd'
|
# Template file for 'pd'
|
||||||
pkgname=pd
|
pkgname=pd
|
||||||
version=0.51.2
|
version=0.51.4
|
||||||
revision=1
|
revision=1
|
||||||
_ver=${version%.*}-${version##*.}
|
_ver=${version%.*}-${version##*.}
|
||||||
wrksrc="$pkgname-$_ver"
|
wrksrc="$pkgname-$_ver"
|
||||||
|
@ -14,7 +14,7 @@ maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
homepage="https://puredata.info"
|
homepage="https://puredata.info"
|
||||||
distfiles="http://msp.ucsd.edu/Software/pd-$_ver.src.tar.gz"
|
distfiles="http://msp.ucsd.edu/Software/pd-$_ver.src.tar.gz"
|
||||||
checksum=b09ad89ad6f419b410644ef7d8dcf34459d21a7ab61a593244ecfaae2ca3f3c9
|
checksum=52591f18316e9f2471ca21c3d6b41c56336e0615ec40a093232e95cc230bfcc1
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
*-musl) # Causes pd to fail if qsort is used without thread local storage.
|
*-musl) # Causes pd to fail if qsort is used without thread local storage.
|
||||||
CFLAGS="-DMICROSOFT_STUPID_SORT" ;;
|
CFLAGS="-DMICROSOFT_STUPID_SORT" ;;
|
||||||
|
|
Loading…
Reference in New Issue