From 85d5fd21e4b8352d8d1d69b5feabd2aec3441b0b Mon Sep 17 00:00:00 2001 From: Tijl Coosemans Date: Fri, 9 Jan 2015 19:44:01 +0000 Subject: Patch a header so other ports can include it Reported by: antoine --- audio/speexdsp/Makefile | 1 + .../patch-include-speex-speexdsp_config_types.h.in | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 audio/speexdsp/files/patch-include-speex-speexdsp_config_types.h.in (limited to 'audio/speexdsp') diff --git a/audio/speexdsp/Makefile b/audio/speexdsp/Makefile index 0415645bcc56..d64761d93b2f 100644 --- a/audio/speexdsp/Makefile +++ b/audio/speexdsp/Makefile @@ -2,6 +2,7 @@ PORTNAME= speexdsp DISTVERSION= 1.2rc3 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= http://downloads.us.xiph.org/releases/speex/ diff --git a/audio/speexdsp/files/patch-include-speex-speexdsp_config_types.h.in b/audio/speexdsp/files/patch-include-speex-speexdsp_config_types.h.in new file mode 100644 index 000000000000..61944bb31e76 --- /dev/null +++ b/audio/speexdsp/files/patch-include-speex-speexdsp_config_types.h.in @@ -0,0 +1,17 @@ +--- include/speex/speexdsp_config_types.h.in.orig 2015-01-03 20:26:24 UTC ++++ include/speex/speexdsp_config_types.h.in +@@ -1,13 +1,7 @@ + #ifndef __SPEEX_TYPES_H__ + #define __SPEEX_TYPES_H__ + +-#if defined HAVE_STDINT_H +-# include +-#elif defined HAVE_INTTYPES_H +-# include +-#elif defined HAVE_SYS_TYPES_H +-# include +-#endif ++#include + + typedef @SIZE16@ spx_int16_t; + typedef @USIZE16@ spx_uint16_t; -- cgit v1.2.3