Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 294528 Details for
Bug 432186
hpricot won't build with ragel 6.0
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to hpricot-0.6 rakefile so ragel is not run less .rl file is altered.
skip-ragel-step.patch (text/plain), 1.65 KB, created by
Jeremy Hinegardner
on 2008-02-11 00:48:05 UTC
(
hide
)
Description:
Patch to hpricot-0.6 rakefile so ragel is not run less .rl file is altered.
Filename:
MIME Type:
Creator:
Jeremy Hinegardner
Created:
2008-02-11 00:48:05 UTC
Size:
1.65 KB
patch
obsolete
>--- Rakefile.orig 2007-06-15 16:28:48.000000000 -0600 >+++ Rakefile 2008-02-10 17:34:22.000000000 -0700 >@@ -109,20 +109,35 @@ > cp ext_so, ARCHLIB > end > >+### Extension Building ### > desc "returns the ragel version" > task :ragel_version do > @ragel_v = `ragel -v`[/(version )(\S*)/,2].to_f > end > >+RAGEL_COMMON = "ext/hpricot_scan/hpricot_common.rl" >+RAGEL_C_FILES = [ RAGEL_COMMON, "ext/hpricot_scan/hpricot_scan.rl" ] >+RAGEL_J_FILES = [ RAGEL_COMMON, "ext/hpricot_scan/hpricot_scan.java.rl" ] >+C_OUTPUT = "ext/hpricot_scan/hpricot_scan.c" >+JAVA_OUTPUT = "ext/hpricot_scan/HpricotScanService.java" >+ >+file C_OUTPUT => RAGEL_C_FILES do |t| >+ cmd = "ragel #{@ragel_v >= 6.0 ? "-G2 -o #{t.name}" : '' } #{RAGEL_C_FILES.last}" >+ cmd += %{ | #{@ragel_v >= 5.18 ? 'rlgen-cd' : 'rlcodegen'} -G2 -o #{t.name}} if @ragel_v < 6.0 >+ sh cmd >+end >+ > desc "Generates the C scanner code with Ragel." >-task :ragel => [:ragel_version] do >- sh %{ragel ext/hpricot_scan/hpricot_scan.rl | #{@ragel_v >= 5.18 ? 'rlgen-cd' : 'rlcodegen'} -G2 -o ext/hpricot_scan/hpricot_scan.c} >+task :ragel => [:ragel_version, C_OUTPUT] >+ >+file JAVA_OUTPUT => RAGEL_J_FILES do |t| >+ cmd = "ragel -J #{@ragel_v >= 6.0 ? "-o #{t.name}" : '' } #{RAGEL_J_FILES.last}" >+ cmd += %{ | #{@ragel_v >= 5.18 ? 'rlgen-java' : 'rlcodegen'} -o #{t.name}} if @ragel_v < 6.0 >+ sh cmd > end > > desc "Generates the Java scanner code with Ragel." >-task :ragel_java => [:ragel_version] do >- sh %{ragel -J ext/hpricot_scan/hpricot_scan.java.rl | #{@ragel_v >= 5.18 ? 'rlgen-java' : 'rlcodegen'} -o ext/hpricot_scan/HpricotScanService.java} >-end >+task :ragel_java => [:ragel_version, JAVA_OUTPUT] > > ### Win32 Packages ### >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 432186
: 294528