ruby-redcloth (4.2.9-2) 0001-restore-extconf.rb.patch

Summary

 ext/redcloth_scan/extconf.rb |    6 ++++++
 1 file changed, 6 insertions(+)

    
download this patch

Patch contents

From: Dmitry Borodaenko <angdraug@debian.org>
Date: Sun, 12 Feb 2012 14:05:31 +0300
Subject: restore extconf.rb
Forwarded: not-needed

---
 ext/redcloth_scan/extconf.rb |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
 create mode 100644 ext/redcloth_scan/extconf.rb

diff --git a/ext/redcloth_scan/extconf.rb b/ext/redcloth_scan/extconf.rb
new file mode 100644
index 0000000..506d4a3
--- /dev/null
+++ b/ext/redcloth_scan/extconf.rb
@@ -0,0 +1,6 @@
+require 'mkmf'
+CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+$CFLAGS << ' -O0 -Wall ' if CONFIG['CC'] =~ /gcc/
+dir_config("redcloth_scan")
+have_library("c", "main")
+create_makefile("redcloth_scan")