Created
February 19, 2010 19:34
-
-
Save careo/309093 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From a7b7aec29c5ac203c4f85d68fb9139fa05718107 Mon Sep 17 00:00:00 2001 | |
| From: Dane Jensen <[email protected]> | |
| Date: Fri, 19 Feb 2010 11:29:35 -0800 | |
| Subject: [PATCH 1/2] extconf.rb: hack arch for 32-bit karmic | |
| --- | |
| ext/extconf.rb | 5 ++++- | |
| 1 files changed, 4 insertions(+), 1 deletions(-) | |
| diff --git a/ext/extconf.rb b/ext/extconf.rb | |
| index affb1cd..c1b1225 100644 | |
| --- a/ext/extconf.rb | |
| +++ b/ext/extconf.rb | |
| @@ -148,8 +148,11 @@ if have_header('mach-o/dyld') | |
| end | |
| arch = RUBY_PLATFORM[/(.*)-linux/,1] | |
| -if arch == 'universal' | |
| +case arch | |
| +when "universal" | |
| arch = 'x86_64' | |
| +when 'i486' | |
| + arch = 'i386' | |
| end | |
| add_define "_ARCH_#{arch}_" | |
| -- | |
| 1.6.3.3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From 761611316eb87bd9537b1c6b8959188c1c2e2508 Mon Sep 17 00:00:00 2001 | |
| From: Dane Jensen <[email protected]> | |
| Date: Fri, 19 Feb 2010 11:30:07 -0800 | |
| Subject: [PATCH 2/2] memprof.gemspec: bump yajl version to match the copy in src/ | |
| --- | |
| memprof.gemspec | 2 +- | |
| 1 files changed, 1 insertions(+), 1 deletions(-) | |
| diff --git a/memprof.gemspec b/memprof.gemspec | |
| index 10e98e4..e0f259e 100644 | |
| --- a/memprof.gemspec | |
| +++ b/memprof.gemspec | |
| @@ -22,7 +22,7 @@ spec = Gem::Specification.new do |s| | |
| ext/memprof.c | |
| ext/src/libdwarf-20091118.tar.gz | |
| ext/src/libelf-0.8.13.tar.gz | |
| - ext/src/yajl-1.0.8.tar.gz | |
| + ext/src/yajl-1.0.9.tar.gz | |
| ext/x86_64.c | |
| ext/x86_64.h | |
| ext/x86_gen.h | |
| -- | |
| 1.6.3.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment