diff options
Diffstat (limited to 'devel/libdispatch/files')
-rw-r--r-- | devel/libdispatch/files/patch-configure.ac | 22 | ||||
-rw-r--r-- | devel/libdispatch/files/patch-src_shims_time.h | 13 |
2 files changed, 0 insertions, 35 deletions
diff --git a/devel/libdispatch/files/patch-configure.ac b/devel/libdispatch/files/patch-configure.ac deleted file mode 100644 index cea80713c323..000000000000 --- a/devel/libdispatch/files/patch-configure.ac +++ /dev/null @@ -1,22 +0,0 @@ ---- configure.ac.orig 2011-09-08 23:48:16.000000000 -0700 -+++ configure.ac 2011-09-08 23:48:28.000000000 -0700 -@@ -137,7 +137,18 @@ - # Find libraries we will need - # - AC_SEARCH_LIBS(clock_gettime, rt) --AC_SEARCH_LIBS(pthread_create, pthread) -+ -+# -+# Find how to enable threads -+# -+case $host in -+*freebsd*) -+ LIBS="${LIBS} -pthread" -+ ;; -+*) -+ AC_SEARCH_LIBS(pthread_create, pthread) -+ ;; -+esac - - # - # Prefer native kqueue(2); otherwise use libkqueue if present. diff --git a/devel/libdispatch/files/patch-src_shims_time.h b/devel/libdispatch/files/patch-src_shims_time.h deleted file mode 100644 index f012effd0b58..000000000000 --- a/devel/libdispatch/files/patch-src_shims_time.h +++ /dev/null @@ -1,13 +0,0 @@ ---- src/shims/time.h.orig 2011-09-08 23:49:45.000000000 -0700 -+++ src/shims/time.h 2011-09-08 23:49:56.000000000 -0700 -@@ -52,8 +52,8 @@ - bool ratio_1_to_1; - dispatch_once_t pred; - } _dispatch_host_time_data_s; --__private_extern__ _dispatch_host_time_data_s _dispatch_host_time_data; --__private_extern__ void _dispatch_get_host_time_init(void *context); -+extern _dispatch_host_time_data_s _dispatch_host_time_data; -+extern void _dispatch_get_host_time_init(void *context); - - static inline uint64_t - _dispatch_time_mach2nano(uint64_t machtime) |