summaryrefslogtreecommitdiffstats
path: root/databases/glom/files/patch-glom_libglom_connectionpool.cc
diff options
context:
space:
mode:
Diffstat (limited to 'databases/glom/files/patch-glom_libglom_connectionpool.cc')
-rw-r--r--databases/glom/files/patch-glom_libglom_connectionpool.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/databases/glom/files/patch-glom_libglom_connectionpool.cc b/databases/glom/files/patch-glom_libglom_connectionpool.cc
new file mode 100644
index 000000000..b1f9b2c50
--- /dev/null
+++ b/databases/glom/files/patch-glom_libglom_connectionpool.cc
@@ -0,0 +1,14 @@
+--- 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,