forked from pool/setserial
script which prevents building with GCC 14 [boo#1225927]. OBS-URL: https://build.opensuse.org/package/show/Base:System/setserial?expand=0&rev=32
14 lines
406 B
Diff
14 lines
406 B
Diff
Index: configure
|
|
===================================================================
|
|
--- configure.orig
|
|
+++ configure
|
|
@@ -689,7 +689,7 @@ cat > conftest.$ac_ext << EOF
|
|
#line 690 "configure"
|
|
#include "confdefs.h"
|
|
|
|
-main(){return(0);}
|
|
+int main(){return(0);}
|
|
EOF
|
|
if { (eval echo configure:695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
ac_cv_prog_cc_works=yes
|