Files
bdfresize/bdfresize-gcc14.patch
Fridrich Strba 1d1b448999 - Added bdfresize-gcc14.patch which adds a missing return type to main
function in the configure script so that the configure script works
  with C99 standard enforcing compilers like GCC 14. [boo#1225772]

OBS-URL: https://build.opensuse.org/package/show/M17N/bdfresize?expand=0&rev=11
2024-07-09 21:11:39 +00:00

14 lines
448 B
Diff

Index: bdfresize-1.5/configure
===================================================================
--- bdfresize-1.5.orig/configure
+++ bdfresize-1.5/configure
@@ -904,7 +904,7 @@ cat > conftest.$ac_ext << EOF
#line 905 "configure"
#include "confdefs.h"
-main(){return(0);}
+int main(){return(0);}
EOF
if { (eval echo configure:910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_cv_prog_cc_works=yes