summaryrefslogtreecommitdiff
path: root/devel/lcc/patches/patch-ae
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2002-04-06 16:49:15 +0000
committerdmcmahill <dmcmahill>2002-04-06 16:49:15 +0000
commit62aac68caa2096da8cd2d504f6ff763f55841f7e (patch)
tree6aac49649d170113f8e059122ede6a4e55ec9313 /devel/lcc/patches/patch-ae
parent8581ca09fb3068e5f362becc58d2359f34ceb45b (diff)
downloadpkgsrc-62aac68caa2096da8cd2d504f6ff763f55841f7e.tar.gz
fix compilation on alpha. Also add missing header. While here, disable
on non-i386 because lcc appears to emit i386 assembly code even on my alpha. There appears to be some amount of work involved with porting this to non-i386.
Diffstat (limited to 'devel/lcc/patches/patch-ae')
-rw-r--r--devel/lcc/patches/patch-ae8
1 files changed, 8 insertions, 0 deletions
diff --git a/devel/lcc/patches/patch-ae b/devel/lcc/patches/patch-ae
new file mode 100644
index 00000000000..cd103bf44aa
--- /dev/null
+++ b/devel/lcc/patches/patch-ae
@@ -0,0 +1,8 @@
+$NetBSD: patch-ae,v 1.1 2002/04/06 16:49:16 dmcmahill Exp $
+
+--- lburg/gram.y.orig Fri Nov 21 11:59:34 1997
++++ lburg/gram.y
+@@ -2,2 +2,3 @@
+ #include <stdio.h>
++#include <stdlib.h>
+ #include "lburg.h"