summaryrefslogtreecommitdiff
path: root/audio/goom/patches/patch-ab
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-10-31 15:33:19 +0000
committertv <tv@pkgsrc.org>2005-10-31 15:33:19 +0000
commit4ea12bfa08242ea7bafa0fde8175a633fa8a92ef (patch)
tree259b29e042dbace90f77208d28a699f417bde2f7 /audio/goom/patches/patch-ab
parent09b3ff19a9d4c183325be7f4febf369bc1bc162b (diff)
downloadpkgsrc-4ea12bfa08242ea7bafa0fde8175a633fa8a92ef.tar.gz
Only include <inttypes.h> if configure said it exists. Add <stdlib.h> to
one place where uintptr_t is needed, for Interix.
Diffstat (limited to 'audio/goom/patches/patch-ab')
-rw-r--r--audio/goom/patches/patch-ab16
1 files changed, 16 insertions, 0 deletions
diff --git a/audio/goom/patches/patch-ab b/audio/goom/patches/patch-ab
new file mode 100644
index 00000000000..cb49f8b14ae
--- /dev/null
+++ b/audio/goom/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1 2005/10/31 15:33:19 tv Exp $
+
+--- src/filters.c.orig 2005-02-07 08:46:41.000000000 -0500
++++ src/filters.c
+@@ -18,7 +18,11 @@
+ #include <stdlib.h>
+ #include <math.h>
+ #include <stdio.h>
++#include <stdlib.h>
++
++#if HAVE_INTTYPES_H
+ #include <inttypes.h>
++#endif
+
+ #include "goom_filters.h"
+ #include "goom_graphic.h"