summaryrefslogtreecommitdiff
path: root/graphics/ruby-gd/files
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ruby-gd/files')
-rw-r--r--graphics/ruby-gd/files/patch-extconf.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/ruby-gd/files/patch-extconf.rb b/graphics/ruby-gd/files/patch-extconf.rb
new file mode 100644
index 000000000000..f87e00b5c9a0
--- /dev/null
+++ b/graphics/ruby-gd/files/patch-extconf.rb
@@ -0,0 +1,11 @@
+--- extconf.rb.orig Wed May 30 23:14:17 2001
++++ extconf.rb Sun Jul 6 00:14:20 2003
+@@ -48,7 +48,7 @@
+ end
+
+ if have_library('z') and have_library('png') and
+- have_library('gd', 'gdImagePng') and have_library('m')
++ have_library('%%GD%%', 'gdImagePng') and have_library('m')
+
+ if with_config('ttf') and not have_func('gdImageStringTTF')
+ delete_link('ttf')