freebsd-ports/databases/glom/files/patch-glom_libglom_connectionpool.cc
2009-01-19 10:34:16 +00:00

14 lines
561 B
C++

--- glom/libglom/connectionpool.cc.orig 2008-04-29 18:10:54.000000000 +0200
+++ glom/libglom/connectionpool.cc 2008-08-08 02:39:55.000000000 +0200
@@ -789,7 +789,11 @@ bool ConnectionPool::directory_exists_ur
// TODO: This is probably mingw specific
static __p_sig_fn_t previous_sig_handler = SIG_DFL;
#else
+# ifdef __FreeBSD__
+static __sighandler_t *previous_sig_handler = SIG_DFL; /* Arbitrary default */
+# else
static sighandler_t previous_sig_handler = SIG_DFL; /* Arbitrary default */
+# endif
#endif
/* This is a Linux/Unix signal handler,