summarylogtreecommitdiffstats
path: root/0003-sys.p2crc-MainType-int.patch
diff options
context:
space:
mode:
authorChris Severance2022-12-26 01:50:58 -0500
committerChris Severance2022-12-26 01:50:58 -0500
commit23ee931747e1847ffa5d4c6364e2fb529c294cde (patch)
tree43da9f8bf5f1d8dc74b111ebbc5cffe453cb2749 /0003-sys.p2crc-MainType-int.patch
parentc34e4cb5fb1ac527fc99cdf12b56585fd86e93f7 (diff)
downloadaur-p2c.tar.gz
autu: Update to 2.02-1
Diffstat (limited to '0003-sys.p2crc-MainType-int.patch')
-rw-r--r--0003-sys.p2crc-MainType-int.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/0003-sys.p2crc-MainType-int.patch b/0003-sys.p2crc-MainType-int.patch
new file mode 100644
index 000000000000..9956682fa034
--- /dev/null
+++ b/0003-sys.p2crc-MainType-int.patch
@@ -0,0 +1,16 @@
+diff -pNaru5 a/src/sys.p2crc b/src/sys.p2crc
+--- a/src/sys.p2crc 1993-12-08 00:36:47.000000000 -0500
++++ b/src/sys.p2crc 2022-12-25 22:24:10.007285626 -0500
+@@ -221,11 +221,11 @@ UseAnyptrMacros # 1=use
+ UsePPMacros # 1=use PP and PV macros for prototypes
+ # 0=do not use these macros for prototypes
+ # 2=use them only for external/forward
+ # default=0 if AnsiC=1, else 2
+
+-MainType # Type name to put in front of "main";
++MainType int # Type name to put in front of "main";
+ # generally either "int" or "void". Blank
+ # works on most systems.
+
+ ReplaceAfter # Textual replacements on output text lines;
+ ReplaceAfter # see ReplaceBefore for details.