Bug 144607

Summary: [patch] Get www/ruby-fcgi working under Ruby 1.9.1
Product: Ports & Packages Reporter: Aaron D. Gifford <astounding>
Component: Individual Port(s)Assignee: Alexander Logvinov <avl>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff
none
file.diff none

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!