mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Fix build on FreeBSD 9 and later where "bool" is defined in <sys/types.h>
- Bump PORTREVISION
This commit is contained in:
parent
d1095723cf
commit
d58d43ef84
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=292102
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= dahdi-kmod
|
||||
PORTVERSION= ${DAHDI_VERSION:S/-//g}
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= misc kld
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL}\
|
||||
http://downloads.digium.com/pub/telephony/firmware/releases/:firmware
|
||||
|
20
misc/dahdi-kmod/files/patch-freebsd-include-stdbool.h
Normal file
20
misc/dahdi-kmod/files/patch-freebsd-include-stdbool.h
Normal file
@ -0,0 +1,20 @@
|
||||
Index: freebsd/include/stdbool.h
|
||||
===================================================================
|
||||
--- freebsd/include/stdbool.h.orig (revision 10467)
|
||||
+++ freebsd/include/stdbool.h (revision 10468)
|
||||
@@ -1,11 +1,15 @@
|
||||
#ifndef _STDBOOL_H_
|
||||
#define _STDBOOL_H_
|
||||
|
||||
+#include <sys/types.h>
|
||||
+
|
||||
+#ifndef __bool_true_false_are_defined
|
||||
typedef int bool;
|
||||
|
||||
enum {
|
||||
false,
|
||||
true
|
||||
};
|
||||
+#endif
|
||||
|
||||
#endif /* _STDBOOL_H_ */
|
Loading…
Reference in New Issue
Block a user