FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us

non port: head/lang/ruby18/files/patch-gc.c

Number of commits found: 6

Wed, 6 Jan 2010
[ 06:31 stas ] Original commit 
1.192 Mk/
1.72 lang/ruby18/distinfo
1.2 lang/ruby18/files/patch-class.c
1.4 lang/ruby18/files/patch-ext_bigdecimal_bigdecimal.c
1.2 lang/ruby18/files/patch-file-check-space
1.6 lang/ruby18/files/patch-gc.c
1.2 lang/ruby18/files/patch-lib_soap_mimemessage.rb
1.2 lang/ruby18/files/patch-ostruct-fix-frozen
1.2 lang/ruby18/files/patch-ostruct-recursion-test
1.2 lang/ruby18/files/patch-select-ebadf-fix
- Update to patchlevel 248.
Mon, 12 Oct 2009
[ 13:15 stas ] Original commit 
1.187 Mk/
1.145 lang/ruby18/Makefile
1.5 lang/ruby18/files/patch-gc.c
1.1 lang/ruby18/files/patch-main.c
- Don't build ruby with threads support on FreeBSD versions before 7.2
- On FreeBSD >= 7.2 allocate the new thread with adequate amount of stack
  space to run the main ruby code in.  This allows to mitigate problem
  when too low stack space available for ruby when running with pthreads
- Bump portrevision.

The long version.  Before this change we used to link ruby against pthreads
uncoditionally on all versions of FreeBSD.  This is indispensable in order
to load the threaded shared objects withing ruby.  However, this causes a
dramatic decrease in the stack space available as pthreads only allows
up to several megabytes of stack space for the main application threads.
The only solution to this is to create the new thread immediately after
the program start with rigth stack size attributes set.  Nonetheless this
scheme won't work for us on FreeBSD version before 7.2 as malloc implementation
in these versions was not threaded fork safe (i.e. this is impossible to
fork from the threaded program and expect malloc/free functions to work).
Thus the only solution for now can be to disable pthreads entirely on
FreeBSD <= 7.2.  This won't cause any performance/usability problems for
users as Ruby 1.8 uses green threads, however it may prevent <= 7.2
users to load shared libraries linked agains pthreads.

Reported by:    "Fran├žois Montel" <>
Tested by:      Sean Mullen <>
Fri, 19 Jun 2009
[ 12:42 stas ] Original commit 
1.185 Mk/
1.143 lang/ruby18/Makefile
1.1 lang/ruby18/files/
1.4 lang/ruby18/files/patch-gc.c
- Fix stack overflow detection algorithm.  It has not worked before as
  we were linking the ruby binary against pthreads, and the default
  stack size detection method with getrlimit didn't returned right
  values in this case.  Now, if threads enabled, it also tries to
  determine the stack size via pthreads calls and use this value if
  it is smaller than what getrlimit returned.  Furthermore, the stack
  overflow detection routine now works proactively, generating
  exception if there're probability the stack will be exhausted by
  the time of the next check (ruby performs checks only in each 256th
  call of rb_call0). [1]
- Build pthreads-enabled ruby by default. I have not received any
  bug reports for this for years, and this verison will work correctly
  with threaded libraries. Also, do not link agains pthreads in non-pthread
  case (this breaks stack size detection algorithm), and eliminate the
  option to disable pthreads (so only power users who know what they're
  doing can disable them).
- Build RDoc by default so it is available in the package.
- Bump portrevision.

PR:             ports/132158
Reported by:    Eugene Pimenov <>
Thu, 18 Jun 2009
[ 12:43 stas ] Original commit 
1.183 Mk/
1.1 lang/ruby18/files/patch-class.c
1.3 lang/ruby18/files/patch-gc.c
1.1 lang/ruby18/files/patch-lib_uri_generic.rb
- Fix the bug in ruby GC when object finalizer were never called. This has
  been triggered by portupgrade which uses finalizers to remove lockfiles.
- Fix the bug in URI module that smashed uri paths in merge method for
  ftp uris. [1]
- Fix segmentation fault when cloning objects with dynamically created
  methods (via instance_eval). [2]

PR:             ports/131775 [1], ports/135533 [2]
Submitted by:   Yoshisato YANAGISAWA <> [2],
                Helmut Schneider <> [1],
                Jaakko Heinonen <> [1],
                Peter Hofer <> [1]
Obtained from:  ruby_1_8 svn tree (rev 22679) [2]
Mon, 15 Dec 2003
[ 06:35 knu ] Original commit 
1.130 Mk/
1.14 lang/ruby16-shim-ruby18/Makefile
1.11 lang/ruby16-shim-ruby18/distinfo
1.2 lang/ruby16-shim-ruby18/files/patch-wait.c
1.7 lang/ruby16-shim-ruby18/pkg-install
1.12 lang/ruby16-shim-ruby18/pkg-plist
1.69 lang/ruby18/Makefile
1.51 lang/ruby18/distinfo
1.2 lang/ruby18/files/patch-eval.c
1.2 lang/ruby18/files/patch-gc.c

(Only the first 10 of 11 ports in this commit are shown above. View all ports for this commit)
Update lang/ruby18 and lang/ruby16-shim-ruby18 to 1.8.1-preview3.
Thu, 27 Nov 2003
[ 07:39 marcel ] Original commit 
1.1 lang/ruby18/files/patch-eval.c
1.1 lang/ruby18/files/patch-gc.c
Fix the build on ia64:

The __libc_ia64_register_backing_store_base variable is defined on
Linux (in glibc) to allow processes to obtain the base of the RSE
backing store. On FreeBSD we do not have such a variable. We also
do not yet have a different interface for processes to use. So, for
now, hardcode the base address of the RSE backing store as it is
on FreeBSD. There's little chance this will change in the future,
so it's not that evil.

Approved by: portmgr (kris)

Number of commits found: 6

User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
How big is it?
The latest upgrade!

Enter Keywords:

Latest Vulnerabilities
a2psNov 22
kibana4Nov 22
libxml2Nov 20
firefoxNov 19
firefox-esrNov 19
libxulNov 19
linux-firefoxNov 19
linux-seamonkeyNov 19
linux-thunderbirdNov 19
nsprNov 19
nssNov 19
seamonkeyNov 19
thunderbirdNov 19
gdmNov 18
moodle28Nov 16

27 vulnerabilities affecting 58 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Deleted ports
Sanity Test Failures

NEW Graphs (Javascript)

Calculated hourly:
Port count 25490
Broken 477
Deprecated 236
Ignore 764
Forbidden 2
Restricted 207
Vulnerable 46
Expired 98
Set to expire 219
Interactive 0
new 24 hours 1
new 48 hours2
new 7 days33
new fortnight89
new month165

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.