dont error our because of missing returns - New upstream release 2.2.7.3, no changelog found OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-rdiscount?expand=0&rev=29
13 lines
452 B
Diff
13 lines
452 B
Diff
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
|