summaryrefslogtreecommitdiff
path: root/graphics/dx
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2002-02-13 12:43:56 +0000
committerdrochner <drochner@pkgsrc.org>2002-02-13 12:43:56 +0000
commitbb5711c94c823f4fdcb399417ff7a2f860f89f44 (patch)
tree6b9b8ebce5d42ee68b7bfd20b5a127de839d45fb /graphics/dx
parent5c72aa660a05e9c3818515f21ad6066120452983 (diff)
downloadpkgsrc-bb5711c94c823f4fdcb399417ff7a2f860f89f44.tar.gz
resolve some nonsense where bison is blamed for a flex incompatibility -
should build with or without bison now
Diffstat (limited to 'graphics/dx')
-rw-r--r--graphics/dx/Makefile3
-rw-r--r--graphics/dx/distinfo3
-rw-r--r--graphics/dx/patches/patch-at16
3 files changed, 20 insertions, 2 deletions
diff --git a/graphics/dx/Makefile b/graphics/dx/Makefile
index 94abe331c30..a56bedd6ba3 100644
--- a/graphics/dx/Makefile
+++ b/graphics/dx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2002/02/05 22:23:31 drochner Exp $
+# $NetBSD: Makefile,v 1.13 2002/02/13 12:43:56 drochner Exp $
DISTNAME= dx-4.1.3
CATEGORIES= graphics
@@ -12,6 +12,7 @@ USE_BUILDLINK_ONLY= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-javadx
+CONFIGURE_ENV+= LEX="flex -l"
# Ensure we export symbols in the linked shared object.
LDFLAGS+= -Wl,--export-dynamic
diff --git a/graphics/dx/distinfo b/graphics/dx/distinfo
index ba49cbd0c2e..d4c039b7589 100644
--- a/graphics/dx/distinfo
+++ b/graphics/dx/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2002/02/05 22:23:32 drochner Exp $
+$NetBSD: distinfo,v 1.6 2002/02/13 12:43:56 drochner Exp $
SHA1 (dx-4.1.3.tar.gz) = 23891ee3768b4b4325c2e354f878b875cef171cd
Size (dx-4.1.3.tar.gz) = 8877359 bytes
@@ -15,3 +15,4 @@ SHA1 (patch-ap) = 06c04dfb585891499bd2d26078e6bfb118172dcd
SHA1 (patch-aq) = e044d43a5e5548bf5311c531ddf0e7b431866235
SHA1 (patch-ar) = cafb9f3eec34cc3909eea194c644497ad53960ca
SHA1 (patch-as) = 3ef53092e58cf09fe0b60a453c9c00df4b9546d6
+SHA1 (patch-at) = 375db4aa47ad90f41c402f3364e6e0934702a2f1
diff --git a/graphics/dx/patches/patch-at b/graphics/dx/patches/patch-at
new file mode 100644
index 00000000000..6d6f9ea3d68
--- /dev/null
+++ b/graphics/dx/patches/patch-at
@@ -0,0 +1,16 @@
+$NetBSD: patch-at,v 1.1 2002/02/13 12:43:57 drochner Exp $
+
+--- src/uipp/dxuilib/Network.C.orig Mon May 22 18:02:44 2000
++++ src/uipp/dxuilib/Network.C Wed Feb 13 12:54:36 2002
+@@ -1191,11 +1191,7 @@
+ extern
+ FILE* yyin; /* parser input stream */
+
+-#if defined(USING_BISON)
+-int yylineno;
+-#else
+ extern int yylineno; /* lexer line number */
+-#endif
+
+ extern int yyparse();
+ }