1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Fix build with gcc 4

PR:		ports/122393
Submitted by:	Marcin Wisnicki <mwisnicki+freebsd at gmail.com> (maintainer)
This commit is contained in:
Rong-En Fan 2008-04-04 14:16:11 +00:00
parent a59ea2becf
commit 99e33171b5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=210507

View File

@ -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;