diff options
author | Max Khon <fjoe@FreeBSD.org> | 2012-02-23 08:08:51 +0000 |
---|---|---|
committer | Max Khon <fjoe@FreeBSD.org> | 2012-02-23 08:08:51 +0000 |
commit | d58d43ef847dad4dcba8639363aa35bb1349bca4 (patch) | |
tree | b94e83a9407062a37093c9350c2208b284ae6d16 /misc/dahdi-kmod | |
parent | d1095723cfbfecb15ccf5b4c58a480dc3bda7b61 (diff) | |
download | ports-d58d43ef847dad4dcba8639363aa35bb1349bca4.tar.gz ports-d58d43ef847dad4dcba8639363aa35bb1349bca4.zip |
Notes
Diffstat (limited to 'misc/dahdi-kmod')
-rw-r--r-- | misc/dahdi-kmod/Makefile | 2 | ||||
-rw-r--r-- | misc/dahdi-kmod/files/patch-freebsd-include-stdbool.h | 20 |
2 files changed, 21 insertions, 1 deletions
diff --git a/misc/dahdi-kmod/Makefile b/misc/dahdi-kmod/Makefile index fe346a8df6aa..ffd4b1f93aea 100644 --- a/misc/dahdi-kmod/Makefile +++ b/misc/dahdi-kmod/Makefile @@ -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 diff --git a/misc/dahdi-kmod/files/patch-freebsd-include-stdbool.h b/misc/dahdi-kmod/files/patch-freebsd-include-stdbool.h new file mode 100644 index 000000000000..01de10205263 --- /dev/null +++ b/misc/dahdi-kmod/files/patch-freebsd-include-stdbool.h @@ -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_ */ |