diff options
author | Karl Berry <karl@freefriends.org> | 2022-11-06 22:15:26 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-11-06 22:15:26 +0000 |
commit | 64926f97bf18768a63598750c0ffe6abaf6e5dcd (patch) | |
tree | cc926637ab015fbe68ff9c5ceb0a13a78bd1c9ca /Build/source/utils/pmx | |
parent | 1e6491899d25e4779850a04ef3bb388fc31ad01d (diff) |
void main, void args, more clang16 from sam
git-svn-id: svn://tug.org/texlive/trunk@64953 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/pmx')
-rw-r--r-- | Build/source/utils/pmx/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/utils/pmx/TLpatches/patch-01-main-ret | 13 | ||||
-rw-r--r-- | Build/source/utils/pmx/pmx-src/libf2c/main.c | 2 |
3 files changed, 19 insertions, 1 deletions
diff --git a/Build/source/utils/pmx/ChangeLog b/Build/source/utils/pmx/ChangeLog index 362d19fe069..b4c053c2021 100644 --- a/Build/source/utils/pmx/ChangeLog +++ b/Build/source/utils/pmx/ChangeLog @@ -1,3 +1,8 @@ +2022-11-06 Sam James <sam@gentoo.org> + + * pmx-src/libf2c/main.c: placate clang16. + https://tug.org/pipermail/tlbuild/2022q4/005273.html + 2022-08-30 Karl Berry <karl@freefriends.org> * pmxab.1: typo fixes from Hilmar Preu\ss{}e, diff --git a/Build/source/utils/pmx/TLpatches/patch-01-main-ret b/Build/source/utils/pmx/TLpatches/patch-01-main-ret new file mode 100644 index 00000000000..cd8cba17b9f --- /dev/null +++ b/Build/source/utils/pmx/TLpatches/patch-01-main-ret @@ -0,0 +1,13 @@ +diff --git a/utils/pmx/pmx-src/libf2c/main.c b/utils/pmx/pmx-src/libf2c/main.c +index 453974904..f485a0cd0 100644 +--- a/utils/pmx/pmx-src/libf2c/main.c ++++ b/utils/pmx/pmx-src/libf2c/main.c +@@ -106,7 +106,7 @@ char **xargv; + #ifdef KR_headers + main(argc, argv) int argc; char **argv; + #else +-main(int argc, char **argv) ++int main(int argc, char **argv) + #endif + { + xargc = argc; diff --git a/Build/source/utils/pmx/pmx-src/libf2c/main.c b/Build/source/utils/pmx/pmx-src/libf2c/main.c index 45397490471..f485a0cd07b 100644 --- a/Build/source/utils/pmx/pmx-src/libf2c/main.c +++ b/Build/source/utils/pmx/pmx-src/libf2c/main.c @@ -106,7 +106,7 @@ char **xargv; #ifdef KR_headers main(argc, argv) int argc; char **argv; #else -main(int argc, char **argv) +int main(int argc, char **argv) #endif { xargc = argc; |