diff options
author | taca <taca@pkgsrc.org> | 2007-10-02 15:59:23 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2007-10-02 15:59:23 +0000 |
commit | a59a83ecd3ee828319ae1b1117ec0223c47f4d42 (patch) | |
tree | 9208965a595d21431f058f3fafeb536662afa16d /lang | |
parent | c3339fd6644aded2a5a33f181cfc75c21f67d184 (diff) | |
download | pkgsrc-a59a83ecd3ee828319ae1b1117ec0223c47f4d42.tar.gz |
Try to fix build problem on DraonFly BSD.
(I tested on old DragonFly 1.7.0-DEVELOPMENT.)
Diffstat (limited to 'lang')
-rw-r--r-- | lang/ruby18-base/distinfo | 3 | ||||
-rw-r--r-- | lang/ruby18-base/patches/patch-ad | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/lang/ruby18-base/distinfo b/lang/ruby18-base/distinfo index 09dd83635d1..a0fb8b482dc 100644 --- a/lang/ruby18-base/distinfo +++ b/lang/ruby18-base/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.22 2007/09/30 04:08:15 taca Exp $ +$NetBSD: distinfo,v 1.23 2007/10/02 15:59:23 taca Exp $ SHA1 (ruby-1.8.6-p110.tar.bz2) = b9c980dabd6c99f3663d463a586b18f2637c9e5b RMD160 (ruby-1.8.6-p110.tar.bz2) = 7acff85e7604ec8cb14590967a147dd953079dd6 @@ -6,6 +6,7 @@ Size (ruby-1.8.6-p110.tar.bz2) = 3918377 bytes SHA1 (patch-aa) = eb218253249d7fc8fe32c5d1ad00f355714861f9 SHA1 (patch-ab) = 973e36950d5b497c7283b928153e9f0ae9fe023e SHA1 (patch-ac) = b84bc931ab3dd7fe619cca846a300673fa71f48e +SHA1 (patch-ad) = f58380acbde2cd346b622b1a547a2840c61cee1f SHA1 (patch-ag) = 1db7fdb83e17a979556a4a9f7fd709dc124d1da0 SHA1 (patch-ai) = 006cb39e417ee5d939af85482e81f441682b688d SHA1 (patch-dh) = 8d8dfbc070433259acc24e18314ad6d76ac4900c diff --git a/lang/ruby18-base/patches/patch-ad b/lang/ruby18-base/patches/patch-ad new file mode 100644 index 00000000000..3d7541245e8 --- /dev/null +++ b/lang/ruby18-base/patches/patch-ad @@ -0,0 +1,14 @@ +$NetBSD: patch-ad,v 1.7 2007/10/02 15:59:23 taca Exp $ + +--- eval.c.orig 2007-09-23 09:01:50.000000000 +0900 ++++ eval.c +@@ -11944,7 +11944,9 @@ rb_thread_start_0(fn, arg, th) + #ifdef _THREAD_SAFE + pthread_create(&time_thread, 0, thread_timer, 0); + time_thread_alive_p = 1; ++#ifndef __DragonFly__ + pthread_atfork(0, 0, rb_child_atfork); ++#endif + #else + rb_thread_start_timer(); + #endif |