1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
Description: fix ftbfs with GCC-14
This patch only fix error of:
configure: error: installation or configuration problem:
C compiler cannot create executables.
Author: xiao sheng wen <atzlinux@sina.com>
Bug-Debian: https://bugs.debian.org/1075605
Forwarded: not-needed
Last-Update: 2024-07-07
---
--- unicon-3.0.4+dfsg1.orig/configure
+++ unicon-3.0.4+dfsg1/configure
@@ -686,7 +686,7 @@ cat > conftest.$ac_ext << EOF
#line 687 "configure"
#include "confdefs.h"
-main(){return(0);}
+int main(){return(0);}
EOF
if { (eval echo configure:692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_cv_prog_cc_works=yes
|