aboutsummaryrefslogtreecommitdiff
path: root/lang/ruby19/files
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2012-09-22 14:27:51 +0000
committerSteve Wills <swills@FreeBSD.org>2012-09-22 14:27:51 +0000
commitffbafcde486c3f4d353995e69a3a71af3f4e481b (patch)
treeb3206e3464e7f7986ac5c43c855e4312ff9c80f7 /lang/ruby19/files
parent196ae60d5272a3e77508d44905f9dae2b13baed1 (diff)
downloadports-ffbafcde486c3f4d353995e69a3a71af3f4e481b.tar.gz
ports-ffbafcde486c3f4d353995e69a3a71af3f4e481b.zip
Notes
Diffstat (limited to 'lang/ruby19/files')
-rw-r--r--lang/ruby19/files/patch-thread_pthread.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/lang/ruby19/files/patch-thread_pthread.c b/lang/ruby19/files/patch-thread_pthread.c
new file mode 100644
index 000000000000..462f1c1d3d9b
--- /dev/null
+++ b/lang/ruby19/files/patch-thread_pthread.c
@@ -0,0 +1,10 @@
+--- thread_pthread.c.orig 2012-09-20 00:26:58.000000000 -0700
++++ thread_pthread.c 2012-09-20 00:27:17.000000000 -0700
+@@ -248,6 +248,7 @@
+ #endif
+
+ r = pthread_cond_init(&cond->cond, &attr);
++ pthread_condattr_destroy(&attr);
+ if (r != 0) {
+ rb_bug_errno("pthread_cond_init", r);
+ }