rubygem-rdiscount/gcc14.patch
Marcus Rueckert 5a99935de4 - Added gcc14.patch
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
2024-07-26 13:13:29 +00:00

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