Patch a header so other ports can include it

Reported by:	antoine
This commit is contained in:
Tijl Coosemans 2015-01-09 19:44:01 +00:00
parent fe148103c3
commit 85d5fd21e4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=376650
2 changed files with 18 additions and 0 deletions

View File

@ -2,6 +2,7 @@
PORTNAME= speexdsp
DISTVERSION= 1.2rc3
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://downloads.us.xiph.org/releases/speex/

View File

@ -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;