summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2022-01-01 09:25:49 +0000
committerdholland <dholland@pkgsrc.org>2022-01-01 09:25:49 +0000
commit42510f676257b40b2751cd8ee2614bb108253dd2 (patch)
tree70be5575ab92bd400d348021efe82d897968e041
parentaf7e028262d08637358000919fb8c1ef3f278836 (diff)
downloadpkgsrc-42510f676257b40b2751cd8ee2614bb108253dd2.tar.gz
audio/sfxr: use standard headers; should fix broken macos build
-rw-r--r--audio/sfxr/distinfo3
-rw-r--r--audio/sfxr/patches/patch-sdlkit.h15
2 files changed, 17 insertions, 1 deletions
diff --git a/audio/sfxr/distinfo b/audio/sfxr/distinfo
index 49380b6985b..01f898dd907 100644
--- a/audio/sfxr/distinfo
+++ b/audio/sfxr/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.6 2021/10/26 09:59:28 nia Exp $
+$NetBSD: distinfo,v 1.7 2022/01/01 09:25:49 dholland Exp $
BLAKE2s (sfxr-sdl-1.2.1.tar.gz) = a6d245c0be32c91398b6418e53245def1c3d93342389978f86c841ba6a6a5f6a
SHA512 (sfxr-sdl-1.2.1.tar.gz) = a918f5212d77e10769d44808e0fa34c3df1da6880663c6a7d966860d145c0c2979b6a6772d12a35ca44b4d7337a38698c722569446eca95c2041ae86ec691adc
Size (sfxr-sdl-1.2.1.tar.gz) = 19444 bytes
SHA1 (patch-Makefile) = 95463748fccf863936c8bfc4f45a411d8b4b98b3
+SHA1 (patch-sdlkit.h) = 81d7383650447f3aeff34b4de834fd2f7a9e1b02
diff --git a/audio/sfxr/patches/patch-sdlkit.h b/audio/sfxr/patches/patch-sdlkit.h
new file mode 100644
index 00000000000..a2b43600208
--- /dev/null
+++ b/audio/sfxr/patches/patch-sdlkit.h
@@ -0,0 +1,15 @@
+$NetBSD: patch-sdlkit.h,v 1.1 2022/01/01 09:25:49 dholland Exp $
+
+Use standard headers.
+
+--- sdlkit.h~ 2012-04-28 10:33:53.000000000 +0000
++++ sdlkit.h
+@@ -92,7 +92,7 @@ static void ddkSetMode (int width, int h
+
+ #include <gtk/gtk.h>
+ #include <string.h>
+-#include <malloc.h>
++#include <stdlib.h>
+
+ #if GTK_CHECK_VERSION(3,0,0)
+