summaryrefslogtreecommitdiff
path: root/dev-lang/ghc/files/ghc-8.10.6-aclocal.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-26 01:13:45 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-26 01:13:45 +0000
commit7bd77a6744e2cd6d203240181996a998985e0288 (patch)
tree75dc88e47dcab0692b84f1b2684ffa9fde351aff /dev-lang/ghc/files/ghc-8.10.6-aclocal.patch
parentc33b50e5d2446c439465ff4575253db72ef2b8f6 (diff)
gentoo auto-resync : 26:11:2022 - 01:13:45
Diffstat (limited to 'dev-lang/ghc/files/ghc-8.10.6-aclocal.patch')
-rw-r--r--dev-lang/ghc/files/ghc-8.10.6-aclocal.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-lang/ghc/files/ghc-8.10.6-aclocal.patch b/dev-lang/ghc/files/ghc-8.10.6-aclocal.patch
new file mode 100644
index 000000000000..8bd3ce58d072
--- /dev/null
+++ b/dev-lang/ghc/files/ghc-8.10.6-aclocal.patch
@@ -0,0 +1,26 @@
+diff --git a/aclocal.m4 b/aclocal.m4
+index 47d69c5..212ebc6 100644
+--- a/aclocal.m4
++++ b/aclocal.m4
+@@ -966,17 +966,15 @@ struct nlist xYzzY1[] = {{"xYzzY1", 0},{0}};
+ struct nlist xYzzY2[] = {{"_xYzzY2", 0},{0}};
+ #endif
+
+-int main(argc, argv)
+-int argc;
+-char **argv;
++int main(int argc, char **argv)
+ {
+ #if defined(HAVE_NLIST_H)
+ if(nlist(argv[0], xYzzY1) == 0 && xYzzY1[0].n_value != 0)
+- exit(1);
++ return 1;
+ if(nlist(argv[0], xYzzY2) == 0 && xYzzY2[0].n_value != 0)
+- exit(0);
++ return 0;
+ #endif
+- exit(1);
++ return 1;
+ }]])],[fptools_cv_leading_underscore=yes],[fptools_cv_leading_underscore=no],[fptools_cv_leading_underscore=no])
+ ;;
+ esac]);