aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2015-01-10 03:44:01 +0800
committertijl <tijl@FreeBSD.org>2015-01-10 03:44:01 +0800
commit84924dd2ef134b9779cf97044162bc8085ddbe94 (patch)
tree676f042c5f4e0ac195fdf221cbdac21dd3c5c39c /audio
parenta2c6b0a71546cb256df9501658fbaf26d2d1be32 (diff)
downloadfreebsd-ports-gnome-84924dd2ef134b9779cf97044162bc8085ddbe94.tar.gz
freebsd-ports-gnome-84924dd2ef134b9779cf97044162bc8085ddbe94.tar.zst
freebsd-ports-gnome-84924dd2ef134b9779cf97044162bc8085ddbe94.zip
Patch a header so other ports can include it
Reported by: antoine
Diffstat (limited to 'audio')
-rw-r--r--audio/speexdsp/Makefile1
-rw-r--r--audio/speexdsp/files/patch-include-speex-speexdsp_config_types.h.in17
2 files changed, 18 insertions, 0 deletions
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 <stdint.h>
+-#elif defined HAVE_INTTYPES_H
+-# include <inttypes.h>
+-#elif defined HAVE_SYS_TYPES_H
+-# include <sys/types.h>
+-#endif
++#include <stdint.h>
+
+ typedef @SIZE16@ spx_int16_t;
+ typedef @USIZE16@ spx_uint16_t;