Bug 144607 - [patch] Get www/ruby-fcgi working under Ruby 1.9.1
Summary: [patch] Get www/ruby-fcgi working under Ruby 1.9.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alexander Logvinov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-10 02:10 UTC by Aaron D. Gifford
Modified: 2010-03-17 01:10 UTC (History)
0 users

See Also:


Attachments
file.diff (1.44 KB, patch)
2010-03-10 02:10 UTC, Aaron D. Gifford
no flags Details | Diff
file.diff (212 bytes, patch)
2010-03-10 02:10 UTC, Aaron D. Gifford
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron D. Gifford 2010-03-10 02:10:01 UTC
The www/ruby-fcgi native (C) code uses some Ruby 1.8-isms that break under 1.9.  The fix is to update the C code so it works under 1.9 but add some macros so it still works under 1.8 as well.  It does require defining a new build variable to engage the macros under 1.8 (I chose RUBY_18, but that could be changed).

A patch is included.

A Ruby 1.9.1 fan hoping FreeBSD is soon more 1.9.1-friendly,
Aaron out.

Fix: TWO PATCHES, one to the port Makefile, the other to ext/fcgi/fcgi.c:



PATCH TO FCGI.C:
================

PATCH to the PORT Makefile to define RUBY_18:
=============================================
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-03-10 02:10:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->avl

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-03-17 01:02:03 UTC
avl         2010-03-17 01:01:55 UTC

  FreeBSD ports repository

  Modified files:
    www/ruby-fcgi        Makefile distinfo pkg-plist 
  Log:
  - Update to 0.8.8
  
  PR:             ports/144607
  Submitted by:   Aaron D. Gifford <astounding at tambler.com>
  
  Revision  Changes    Path
  1.12      +6 -7      ports/www/ruby-fcgi/Makefile
  1.10      +3 -3      ports/www/ruby-fcgi/distinfo
  1.4       +1 -0      ports/www/ruby-fcgi/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Alexander Logvinov freebsd_committer freebsd_triage 2010-03-17 01:02:53 UTC
State Changed
From-To: open->closed

Should be fixed with update to 0.8.8. Thanks!