Download raw body.
audio/pd build failure on sparc64
The build on sparc64 fails with the following error:
s_audio_paring.c: In function 'sys_ringbuf_getreadavailable':
s_audio_paring.c:110: warning: implicit declaration of function '__atomic_load_4'
s_audio_paring.c:110: error: '__ATOMIC_SEQ_CST' undeclared (first use in this function)
This file contains the relevant code:
https://github.com/pure-data/pure-data/blob/master/src/m_private_utils.h
I imagine that the diff below will solve the problem (but I can't test).
ok?
Index: Makefile
===================================================================
RCS file: /cvs/ports/audio/pd/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 Makefile
--- Makefile 8 Dec 2025 20:53:39 -0000 1.1.1.1
+++ Makefile 15 Dec 2025 13:12:21 -0000
@@ -14,6 +14,9 @@ WANTLIB += c fftw3f m portaudio portmidi
SITES = http://msp.ucsd.edu/Software/
+COMPILER = base-clang ports-gcc
+COMPILER_LANGS = c
+
MODULES = x11/tk
BUILD_DEPENDS = ${MODTK_BUILD_DEPENDS} \
audio/pd build failure on sparc64