diff options
author | sem <sem@FreeBSD.org> | 2005-11-27 04:40:32 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2005-11-27 04:40:32 +0800 |
commit | ccca1895b76d0254bf75c2c4d35b49edcefb7da3 (patch) | |
tree | 44e8845422e01d5a9767bfa4cd0f762004d84c6d /devel/ace+tao | |
parent | 3b3756e55ffec26cdfb6d5ef29bb6e774ab5795c (diff) | |
download | freebsd-ports-gnome-ccca1895b76d0254bf75c2c4d35b49edcefb7da3.tar.gz freebsd-ports-gnome-ccca1895b76d0254bf75c2c4d35b49edcefb7da3.tar.zst freebsd-ports-gnome-ccca1895b76d0254bf75c2c4d35b49edcefb7da3.zip |
- Fix build on -CURRENT (sigval renamed to sival)
Reported by: kris via pointyhat
Diffstat (limited to 'devel/ace+tao')
-rw-r--r-- | devel/ace+tao/files/patch-ace-POSIX_Proactor.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/devel/ace+tao/files/patch-ace-POSIX_Proactor.cpp b/devel/ace+tao/files/patch-ace-POSIX_Proactor.cpp new file mode 100644 index 000000000000..efe93a017696 --- /dev/null +++ b/devel/ace+tao/files/patch-ace-POSIX_Proactor.cpp @@ -0,0 +1,22 @@ +--- ace/POSIX_Proactor.cpp.orig Sat Nov 26 23:06:35 2005 ++++ ace/POSIX_Proactor.cpp Sat Nov 26 23:19:24 2005 +@@ -26,6 +26,10 @@ + # include "ace/OS_NS_strings.h" + #endif /* sun */ + ++#if defined __FreeBSD__ ++#include <sys/param.h> ++#endif ++ + // ********************************************************************* + /** + * @class ACE_POSIX_Wakeup_Completion +@@ -1693,7 +1697,7 @@ + + // Set the signal information. + sigval value; +-#if defined (__FreeBSD__) ++#if (defined (__FreeBSD__) && __FreeBSD_version <= 700004) + value.sigval_int = -1; + #else + value.sival_int = -1; |