summaryrefslogtreecommitdiff
path: root/lang/joos/patches/patch-ab
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2002-05-08 15:42:00 +0000
committerjschauma <jschauma@pkgsrc.org>2002-05-08 15:42:00 +0000
commite14a1e0c8bd9bb2e6ecf98b129d362ef0faf0839 (patch)
treed59576f03f8c1105d72170327cdc1c5b6e9ed86d /lang/joos/patches/patch-ab
parentf45a8b48a03eba04e43c3e0aefc75a44c733380b (diff)
downloadpkgsrc-e14a1e0c8bd9bb2e6ecf98b129d362ef0faf0839.tar.gz
Initial import of "Joos":
Joos is an acronym for Java's Object-Oriented Subset. JOOS is a proper subset of Java which is used to teach students about compilers.
Diffstat (limited to 'lang/joos/patches/patch-ab')
-rw-r--r--lang/joos/patches/patch-ab20
1 files changed, 20 insertions, 0 deletions
diff --git a/lang/joos/patches/patch-ab b/lang/joos/patches/patch-ab
new file mode 100644
index 00000000000..c87b1c7e0c2
--- /dev/null
+++ b/lang/joos/patches/patch-ab
@@ -0,0 +1,20 @@
+$NetBSD: patch-ab,v 1.1 2002/05/08 15:42:02 jschauma Exp $
+
+--- A+/main.c.orig Wed May 8 10:32:57 2002
++++ A+/main.c Wed May 8 10:33:14 2002
+@@ -20,7 +20,7 @@
+
+ int optionO;
+
+-void main(int argc, char **argv)
++int main(int argc, char **argv)
+ { int i;
+ theprogram = NULL;
+ optionO = 0;
+@@ -50,5 +50,5 @@
+ codePROGRAM(theprogram);
+ if (optionO) optiPROGRAM(theprogram);
+ emitPROGRAM(theprogram);
+- exit(0);
++ return(0);
+ }