diff options
author | rafan <rafan@FreeBSD.org> | 2008-04-04 22:16:11 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2008-04-04 22:16:11 +0800 |
commit | cca77f50b9f4d91356ac1c79639ec0c1d88ae419 (patch) | |
tree | bca84a9c6e52168273916d4fedb5609dbdff33cd /polish/kadu | |
parent | 36537484662eeede727c2280ac87dbcff89c7859 (diff) | |
download | freebsd-ports-gnome-cca77f50b9f4d91356ac1c79639ec0c1d88ae419.tar.gz freebsd-ports-gnome-cca77f50b9f4d91356ac1c79639ec0c1d88ae419.tar.zst freebsd-ports-gnome-cca77f50b9f4d91356ac1c79639ec0c1d88ae419.zip |
- Fix build with gcc 4
PR: ports/122393
Submitted by: Marcin Wisnicki <mwisnicki+freebsd at gmail.com> (maintainer)
Diffstat (limited to 'polish/kadu')
-rw-r--r-- | polish/kadu/files/patch-kadu-core_main.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/polish/kadu/files/patch-kadu-core_main.cpp b/polish/kadu/files/patch-kadu-core_main.cpp new file mode 100644 index 000000000000..82dd84e32212 --- /dev/null +++ b/polish/kadu/files/patch-kadu-core_main.cpp @@ -0,0 +1,14 @@ +Index: kadu-core/main.cpp +=================================================================== +--- kadu-core/main.cpp 2008-02-26 01:07:33.000000000 +0100 ++++ kadu-core/main.cpp 2008-03-12 10:55:42.000000000 +0100 +@@ -50,6 +50,9 @@ + #ifdef HAVE_EXECINFO + #include <execinfo.h> + #endif ++#ifdef __FreeBSD__ ++typedef union sigval sigval_t; ++#endif /* __FreeBSD__ */ + #define OPEN_CHAT_SIGNAL (SIGRTMIN + 7) + + static int sigsegvCount = 0; |