mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
42f749145d
The jpeg `configure` script fails to detect clang as a functioning C compiler because it uses a test with a `main` that returns an implicit `int`, which results in an error with clang 16.
12 lines
398 B
Diff
12 lines
398 B
Diff
--- a/JPEG/jpeg/configure 2013-11-15 18:50:03.000000000 -0500
|
|
+++ b/JPEG/jpeg/configure 2023-09-05 23:36:12.675151164 -0400
|
|
@@ -623,7 +623,7 @@
|
|
cat > conftest.$ac_ext <<EOF
|
|
#line 625 "configure"
|
|
#include "confdefs.h"
|
|
-main(){return(0);}
|
|
+int main(){return(0);}
|
|
EOF
|
|
if { (eval echo configure:629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
ac_cv_prog_cc_works=yes
|