summaryrefslogtreecommitdiff
path: root/lang/modula-3-lib/files/patch-aj
diff options
context:
space:
mode:
Diffstat (limited to 'lang/modula-3-lib/files/patch-aj')
-rw-r--r--lang/modula-3-lib/files/patch-aj17
1 files changed, 17 insertions, 0 deletions
diff --git a/lang/modula-3-lib/files/patch-aj b/lang/modula-3-lib/files/patch-aj
new file mode 100644
index 000000000000..375a0a656593
--- /dev/null
+++ b/lang/modula-3-lib/files/patch-aj
@@ -0,0 +1,17 @@
+Fix an erroneous structure declaration for FreeBSD.
+
+Index: m3/m3core/src/C/FreeBSD2/Cstdio.i3
+===================================================================
+RCS file: /home/jdp/m3-cvs/m3/m3core/src/C/FreeBSD2/Cstdio.i3,v
+retrieving revision 1.1.1.1
+diff -u -r1.1.1.1 Cstdio.i3
+--- Cstdio.i3 1996/09/24 05:21:57 1.1.1.1
++++ Cstdio.i3 1996/09/24 05:32:37
+@@ -55,6 +55,7 @@
+ (* Unix stdio files get aligned to block boundaries on fseek() *)
+ blksize : int; (* stat.st_blksize (may be != _bf._size) *)
+ offset : off_t; (* current lseek offset *)
++ pad1 : int; (* assume high 4 bytes of offset are 0 *)
+
+ END;
+