From 4ea12bfa08242ea7bafa0fde8175a633fa8a92ef Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 31 Oct 2005 15:33:19 +0000 Subject: [PATCH] Only include if configure said it exists. Add to one place where uintptr_t is needed, for Interix. --- audio/goom/distinfo | 4 +++- audio/goom/patches/patch-ab | 16 ++++++++++++++++ audio/goom/patches/patch-ac | 15 +++++++++++++++ 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 audio/goom/patches/patch-ab create mode 100644 audio/goom/patches/patch-ac diff --git a/audio/goom/distinfo b/audio/goom/distinfo index 24f7e03dd968..401ff6f9bfcf 100644 --- a/audio/goom/distinfo +++ b/audio/goom/distinfo @@ -1,6 +1,8 @@ -$NetBSD: distinfo,v 1.2 2005/02/23 20:39:46 agc Exp $ +$NetBSD: distinfo,v 1.3 2005/10/31 15:33:19 tv Exp $ SHA1 (goom-2k4-0-src.tar.gz) = 4856b86aadc67676c473a4664c5281bc05df278d RMD160 (goom-2k4-0-src.tar.gz) = 280c0db57f437b072a49ff80f5bf85d57892af8e Size (goom-2k4-0-src.tar.gz) = 757058 bytes SHA1 (patch-aa) = 44b8332db3e7b6ec15fcc7d94d68bd0b884c6e8a +SHA1 (patch-ab) = 7a703e75ad8d9895c28f6579ee80240f1c2d0cfb +SHA1 (patch-ac) = 341a075d8a2b41b522fe313ca13f5ca7c5476f6f diff --git a/audio/goom/patches/patch-ab b/audio/goom/patches/patch-ab new file mode 100644 index 000000000000..cb49f8b14aee --- /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 + #include + #include ++#include ++ ++#if HAVE_INTTYPES_H + #include ++#endif + + #include "goom_filters.h" + #include "goom_graphic.h" diff --git a/audio/goom/patches/patch-ac b/audio/goom/patches/patch-ac new file mode 100644 index 000000000000..5b93e7838f38 --- /dev/null +++ b/audio/goom/patches/patch-ac @@ -0,0 +1,15 @@ +$NetBSD: patch-ac,v 1.1 2005/10/31 15:33:19 tv Exp $ + +--- src/goom_core.c.orig 2005-02-07 08:46:41.000000000 -0500 ++++ src/goom_core.c +@@ -11,7 +11,10 @@ + #include + #include + #include ++ ++#if HAVE_INTTYPES_H + #include ++#endif + + #include "goom.h" + #include "goom_tools.h"