opnsense-ports/databases/glom/files/patch-glom_libglom_connectionpool.cc
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01: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,