LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File plan.diff of Package plan (Project home:lnussel:plan)

From a867d322d00ec9b3f021b3bba8a596cdb47107b5 Mon Sep 17 00:00:00 2001
From: Ludwig Nussel <lnussel@suse.de>
Date: Thu, 6 Mar 2008 12:02:48 +0100
Subject: [PATCH] plan.diff

===================================================================
---
 src/Makefile |    2 +-
 src/parser.y |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/Makefile b/src/Makefile
index baa8dd4..9e1a3dc 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -423,7 +423,7 @@ svr4:
 	env CF="$(SVR4_C)" L1F="$(SVR4_L1)" L2F="$(SVR4_L2)" MYCC=gcc make all
 
 linux:
-	-env CF="$(LINUX_C)" L1F="$(LINUX_L1)" L2F="$(LINUX_L2)" MYCC=gcc make all
+	-env CF="$(LINUX_C)" L1F="$(LINUX_L1)" L2F="$(LINUX_L2)" MYCC=gcc $(MAKE) all
 	@echo --------------------
 	@echo 'NOTE: if compilation failed with "cannot find -lXt", try "make clean; make linux64"'
 
diff --git a/src/parser.y b/src/parser.y
index e330da6..bda1660 100644
--- a/src/parser.y
+++ b/src/parser.y
@@ -15,6 +15,8 @@ int		 yacc_stringcolor;
 char		*yacc_string;
 int		 yacc_daycolor;
 static int	 m, d, y;
+int yylex (void);
+void yyerror (char const *);
 %}
 
 %union { int ival; char *sval; }
-- 
1.5.3.4