summaryrefslogtreecommitdiff
path: root/polish
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2008-04-04 14:16:11 +0000
committerRong-En Fan <rafan@FreeBSD.org>2008-04-04 14:16:11 +0000
commit99e33171b5f5f51823e19f496f2f41700ba36fed (patch)
treef9c50da1085a550b5b25e90609008e39e0e37c1f /polish
parent- Update to 0.8.0 (diff)
- Fix build with gcc 4
PR: ports/122393 Submitted by: Marcin Wisnicki <mwisnicki+freebsd at gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=210507
Diffstat (limited to 'polish')
-rw-r--r--polish/kadu/files/patch-kadu-core_main.cpp14
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;