fix build

This commit is contained in:
espie 2010-05-23 11:29:45 +00:00
parent 74ea436027
commit 6bba6c07f7
3 changed files with 26 additions and 7 deletions

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-Imakefile,v 1.1 2002/07/18 21:02:02 naddy Exp $
$OpenBSD: patch-Imakefile,v 1.2 2010/05/23 11:29:45 espie Exp $
--- Imakefile.orig Fri Feb 3 01:25:44 1995
+++ Imakefile Thu Jul 18 22:15:15 2002
@@ -25,7 +25,7 @@ XCOMM the maximum level of compatibility
+++ Imakefile Sat May 22 16:16:03 2010
@@ -25,7 +25,7 @@ XCOMM the maximum level of compatibility with AT&T lex
XCOMM will define yylineno. If you get an "Undefined symbol: _yylineno"
XCOMM when linking, adjust this to work on your system.
@ -10,7 +10,7 @@ $OpenBSD: patch-Imakefile,v 1.1 2002/07/18 21:02:02 naddy Exp $
# ifdef LexCmd
LEX = LexCmd -l
# else
@@ -100,7 +100,7 @@ SpecialObjectRule(vdt.o,NullParameter,$(
@@ -100,7 +100,7 @@ SpecialObjectRule(vdt.o,NullParameter,$(XLOADIM_DEF))
SpecialObjectRule(LocPixmap.o,NullParameter,'-DBITMAPDIR="$(INCDIR)/bitmaps"')
SpecialObjectRule(twm.o,NullParameter,$(TWM_DEFS))

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-gram_y,v 1.1 2002/07/18 21:02:02 naddy Exp $
$OpenBSD: patch-gram_y,v 1.2 2010/05/23 11:29:45 espie Exp $
--- gram.y.orig Mon Nov 22 21:10:49 1993
+++ gram.y Thu Jul 18 22:15:15 2002
@@ -79,7 +79,7 @@ unsigned int mods_used = (ShiftMask | Co
+++ gram.y Sat May 22 16:16:03 2010
@@ -79,7 +79,7 @@ unsigned int mods_used = (ShiftMask | ControlMask | Mo
extern int do_single_keyword(), do_string_keyword(), do_number_keyword();
extern name_list **do_colorlist_keyword();
extern int do_color_keyword(), do_string_savecolor();

View File

@ -0,0 +1,19 @@
$OpenBSD: patch-parse_c,v 1.1 2010/05/23 11:29:45 espie Exp $
--- parse.c.orig Sun May 23 13:26:33 2010
+++ parse.c Sun May 23 13:27:06 2010
@@ -81,6 +81,7 @@ static char **stringListSource, *currentString;
static int ParseUsePPosition();
static int ParseState();
static FILE *start_m4();
+static char *m4_defs(Display *, char *);
int m4_pid;
/* If you're using flex (and lex on 386 bsd boxes, which *is* flex, really)
@@ -1627,7 +1628,6 @@ FILE *fraw;
if (fres == 0) {
extern Display *dpy;
extern char *display_name;
- static char *m4_defs();
char *tmp_file;
/* Child */