From 543c6ce9ef4edec7e5fe98ef0e429dc4c941438d Mon Sep 17 00:00:00 2001 From: Jason Gauci Date: Tue, 29 Jul 2014 09:59:21 -0700 Subject: Fix return value in reimp.c Modern clang does not like return; when an int is expected. --- src/mingw-utils-1-portability-fix.patch | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/mingw-utils-1-portability-fix.patch b/src/mingw-utils-1-portability-fix.patch index 40daabb..42237cb 100644 --- a/src/mingw-utils-1-portability-fix.patch +++ b/src/mingw-utils-1-portability-fix.patch @@ -53,6 +53,15 @@ diff -r 62cf992c82c9 reimp/reimp.c { struct ar_hdr ar_hdr; struct imp_hdr imp_hdr; +@@ -410,7 +410,7 @@ + extract_member (get_ar_name (&ar_hdr), + strtol (ar_hdr.ar_size, NULL, 10), f); + } +- return; ++ return 0; + } + + sym = buf = xmalloc (imp_hdr.size); diff -r 62cf992c82c9 reimp/reimp.h --- a/reimp/reimp.h Fri Nov 26 19:02:28 2010 +0100 +++ b/reimp/reimp.h Fri Nov 26 19:14:59 2010 +0100 -- cgit v0.12