From cca77f50b9f4d91356ac1c79639ec0c1d88ae419 Mon Sep 17 00:00:00 2001 From: rafan Date: Fri, 4 Apr 2008 14:16:11 +0000 Subject: - Fix build with gcc 4 PR: ports/122393 Submitted by: Marcin Wisnicki (maintainer) --- polish/kadu/files/patch-kadu-core_main.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 polish/kadu/files/patch-kadu-core_main.cpp (limited to 'polish/kadu') 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 + #endif ++#ifdef __FreeBSD__ ++typedef union sigval sigval_t; ++#endif /* __FreeBSD__ */ + #define OPEN_CHAT_SIGNAL (SIGRTMIN + 7) + + static int sigsegvCount = 0; -- cgit