head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.4 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.2 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q2:1.3.0.4 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.2 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.2.0.8 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q3:1.2.0.6 pkgsrc-2011Q3-base:1.2 pkgsrc-2011Q2:1.2.0.4 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.2.0.2 pkgsrc-2011Q1-base:1.2 pkgsrc-2010Q4:1.1.1.1.0.4 pkgsrc-2010Q4-base:1.1.1.1 pkgsrc-2010Q3:1.1.1.1.0.2 pkgsrc-2010Q3-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.4 date 2012.09.16.15.16.00; author taca; state dead; branches; next 1.3; 1.3 date 2012.02.23.14.15.58; author taca; state Exp; branches; next 1.2; 1.2 date 2011.02.07.11.15.28; author taca; state Exp; branches; next 1.1; 1.1 date 2010.09.12.03.50.06; author taca; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2010.09.12.03.50.06; author taca; state Exp; branches 1.1.1.1.4.1; next ; 1.1.1.1.4.1 date 2011.02.12.11.33.40; author spz; state Exp; branches; next ; desc @@ 1.4 log @Remove ruby19 package (Ruby 1.9.2). Although Ruby 1.9.2 is still supported version, Ruby 1.9.3 has enough compatibility for pkgsrc's packages and migration terms on pkgsrc now ended. And it costs to supporing multiple versions of Ruby along with multiple versions of Ruby on Rails, too. @ text @$NetBSD: patch-as,v 1.3 2012/02/23 14:15:58 taca Exp $ * Handle 64bit size of time_t. --- thread_pthread.c.orig 2012-02-13 15:29:27.000000000 +0000 +++ thread_pthread.c @@@@ -17,6 +17,12 @@@@ #include #endif +#if SIZEOF_TIME_T == 8 +#define FMT_TIME_T "lld" +#else +#define FMT_TIME_T "ld" +#endif + static void native_mutex_lock(pthread_mutex_t *lock); static void native_mutex_unlock(pthread_mutex_t *lock); static int native_mutex_trylock(pthread_mutex_t *lock); @@@@ -645,7 +651,7 @@@@ native_sleep(rb_thread_t *th, struct tim } } - thread_debug("native_sleep %ld\n", tv ? tv->tv_sec : -1); + thread_debug("native_sleep %" FMT_TIME_T "\n", tv ? tv->tv_sec : -1); GVL_UNLOCK_BEGIN(); { pthread_mutex_lock(&th->interrupt_lock); @@@@ -667,8 +673,8 @@@@ native_sleep(rb_thread_t *th, struct tim } else { int r; - thread_debug("native_sleep: pthread_cond_timedwait start (%ld, %ld)\n", - (unsigned long)ts.tv_sec, ts.tv_nsec); + thread_debug("native_sleep: pthread_cond_timedwait start (%" + FMT_TIME_T ", %ld)\n", ts.tv_sec, ts.tv_nsec); r = pthread_cond_timedwait(&th->native_thread_data.sleep_cond, &th->interrupt_lock, &ts); if (r && r != ETIMEDOUT) rb_bug_errno("pthread_cond_timedwait", r); @ 1.3 log @Update ruby19-base package to 192pl318, Ruby 1.9.2 patchlevel 318. (It seems to the tag of subversion was created with wrong name.) Ruby 1.9.2-p318 is released. This release include a security fixes of the Ruby OpenSSL extension. See [1] for more detail about this fix. *1: http://www.ruby-lang.org/en/news/2012/02/16/security-fix-for-ruby-openssl-module-allow-0n-splitting-as-a-prevention-for-the-tls-beast-attack-/ And many bugs are fixed in this release. See [2] for more details: *2: http://svn.ruby-lang.org/repos/ruby/tags/v1_9_2_381/ChangeLog @ text @d1 1 a1 1 $NetBSD: patch-as,v 1.2 2011/02/07 11:15:28 taca Exp $ @ 1.2 log @Add a patch from FreeBSD's port and it fixes runtime problem on DragonFly, too. The patch was provided by Rumko via private mail. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-as,v 1.1.1.1 2010/09/12 03:50:06 taca Exp $ a3 2 * On FreeBSD and DragonFly PTHREAD_STACK_MIN is too small. Taken from FreeBSD ports d5 1 a5 1 --- thread_pthread.c.orig 2010-07-22 13:13:57.000000000 +0000 d20 1 a20 1 @@@@ -620,7 +626,7 @@@@ native_sleep(rb_thread_t *th, struct tim d29 1 a29 1 @@@@ -642,8 +648,8 @@@@ native_sleep(rb_thread_t *th, struct tim a39 9 @@@@ -822,7 +828,7 @@@@ int err; pthread_attr_init(&attr); -#ifdef PTHREAD_STACK_MIN +#if defined(PTHREAD_STACK_MIN) && !defined(__FreeBSD__) && !defined(__DragonFly__) pthread_attr_setstacksize(&attr, PTHREAD_STACK_MIN + (THREAD_DEBUG ? BUFSIZ : 0)); #endif @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 1 Handle 64bit size of time_t. d42 9 @ 1.1.1.1 log @Importing ruby19-base 1.9.2pl0. This package is Ruby 1.9 based release. And this new release has several features and some incompatibility. Please refer changes from Ruby 1.8.7: http://svn.ruby-lang.org/repos/ruby/tags/v1_9_1_0/NEWS http://svn.ruby-lang.org/repos/ruby/tags/v1_9_2_0/NEWS *Note* NetBSD isn't "supported" but "perhaps" platform by Ruby. Please refer about it "Supported Platform" in http://www.ruby-lang.org/en/news/2010/08/18/ruby-1-9-2-is-released/. @ text @@ 1.1.1.1.4.1 log @Pullup ticket 3345 - requested by taca portability fix Revisions pulled up: - pkgsrc/lang/ruby19-base/Makefile 1.6 - pkgsrc/lang/ruby19-base/distinfo 1.3 - pkgsrc/lang/ruby19-base/patches/patch-as 1.2 ------------------------------------------------------------------------- Module Name: pkgsrc Committed By: taca Date: Mon Feb 7 11:15:29 UTC 2011 Modified Files: pkgsrc/lang/ruby19-base: Makefile distinfo pkgsrc/lang/ruby19-base/patches: patch-as Log Message: Add a patch from FreeBSD's port and it fixes runtime problem on DragonFly, too. The patch was provided by Rumko via private mail. Bump PKGREVISION. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/ruby19-base/Makefile cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/ruby19-base/distinfo cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/lang/ruby19-base/patches/patch-as @ text @d1 1 a1 1 $NetBSD: patch-as,v 1.2 2011/02/07 11:15:28 taca Exp $ d3 1 a3 3 * Handle 64bit size of time_t. * On FreeBSD and DragonFly PTHREAD_STACK_MIN is too small. Taken from FreeBSD ports a39 9 @@@@ -822,7 +828,7 @@@@ int err; pthread_attr_init(&attr); -#ifdef PTHREAD_STACK_MIN +#if defined(PTHREAD_STACK_MIN) && !defined(__FreeBSD__) && !defined(__DragonFly__) pthread_attr_setstacksize(&attr, PTHREAD_STACK_MIN + (THREAD_DEBUG ? BUFSIZ : 0)); #endif @