summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2003-01-11 23:17:57 +0000
committerPeter Wemm <peter@FreeBSD.org>2003-01-11 23:17:57 +0000
commit42dce6e924f6ed99c838c4243972c71e4c4dceed (patch)
treed29b1f61aef22b8f00003258e3e7a464d448ad09 /shells
parentAdd tileworld, an SDL puzzle game. (diff)
Make this work on ia64.
Notes
Notes: svn path=/head/; revision=72924
Diffstat (limited to 'shells')
-rw-r--r--shells/pdksh/files/patch-alloc.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/shells/pdksh/files/patch-alloc.c b/shells/pdksh/files/patch-alloc.c
new file mode 100644
index 000000000000..425923e56fd5
--- /dev/null
+++ b/shells/pdksh/files/patch-alloc.c
@@ -0,0 +1,12 @@
+--- alloc.c.orig Tue May 18 07:45:09 1999
++++ alloc.c Sat Jan 11 15:11:22 2003
+@@ -110,5 +110,9 @@
+ Block *block;
+ struct {int _;} junk; /* alignment */
++#ifdef __ia64__
++ long double djunk; /* alignment */
++#else
+ double djunk; /* alignment */
++#endif
+ };
+