rubygem-rdiscount/gcc14.patch

13 lines
452 B
Diff
Raw Permalink Normal View History

Index: rdiscount-2.2.7.3/ext/extconf.rb
===================================================================
--- rdiscount-2.2.7.3.orig/ext/extconf.rb
+++ rdiscount-2.2.7.3/ext/extconf.rb
@@ -34,6 +34,7 @@ end
$defs.push("-DVERSION=\\\"#{VERSION}\\\"")
$defs.push("-DBRANCH=\"\"")
+$CFLAGS += " -Wno-error=return-type "
# Post XCode 5.1 the command line tools on OS X treat unrecognised
# command line options as errors and it's been seen that