head 1.3; access; symbols OPENPKG_E1_MP_HEAD:1.3 OPENPKG_E1_MP:1.3 OPENPKG_E1_MP_2_STABLE:1.2.4.1 OPENPKG_E1_FP:1.2.4.1 OPENPKG_2_STABLE_MP:1.3 OPENPKG_2_STABLE_20061018:1.2.4.1 OPENPKG_2_STABLE_20060622:1.2 OPENPKG_2_STABLE:1.2.0.4 OPENPKG_2_STABLE_BP:1.2 OPENPKG_2_5_RELEASE:1.2 OPENPKG_2_5_SOLID:1.2.0.2 OPENPKG_2_5_SOLID_BP:1.2 OPENPKG_2_4_RELEASE:1.1 OPENPKG_2_4_SOLID:1.1.0.4 OPENPKG_2_4_SOLID_BP:1.1 OPENPKG_CW_FP:1.1 OPENPKG_2_3_RELEASE:1.1 OPENPKG_2_3_SOLID:1.1.0.2 OPENPKG_2_3_SOLID_BP:1.1; locks; strict; comment @# @; expand @v@; 1.3 date 2006.07.24.07.04.07; author rse; state Exp; branches; next 1.2; commitid 6SenWoJggz7i85Gr; 1.2 date 2005.09.26.12.53.15; author rse; state Exp; branches 1.2.4.1; next 1.1; 1.1 date 2005.01.24.13.58.40; author rse; state Exp; branches; next ; 1.2.4.1 date 2006.10.16.14.48.42; author rse; state Exp; branches; next ; commitid iZxwRSmmWscPXUQr; desc @@ 1.3 log @upgrading package: boxes 1.0.1 -> 1.1 @ text @Index: src/boxes.c --- src/boxes.c.orig 2006-07-23 20:03:43 +0200 +++ src/boxes.c 2006-07-24 08:11:53 +0200 @@@@ -232,7 +232,13 @@@@ #include #include #include +#if defined(__NetBSD__) +#define _NETBSD_SOURCE #include +#undef _NETBSD_SOURCE +#else +#include +#endif #include #include "shape.h" #include "boxes.h" @ 1.2 log @fix building under NetBSD with a NetBSD-specific hack @ text @d2 3 a4 3 --- src/boxes.c.orig 2000-03-18 00:53:59 +0100 +++ src/boxes.c 2005-09-26 14:51:12 +0200 @@@@ -219,7 +219,13 @@@@ a17 28 Index: src/lexer.l --- src/lexer.l.orig 2000-03-18 00:53:59 +0100 +++ src/lexer.l 2005-09-26 14:45:12 +0200 @@@@ -116,7 +116,6 @@@@ "$Id: lexer.l,v 1.17 1999/08/20 19:51:12 tsjensen Exp tsjensen $"; -int yylineno = 1; static int yyerrcnt = 0; static char sdel = '\"'; @@@@ -136,6 +135,7 @@@@ %option nounput %option noyywrap +%option yylineno %option never-interactive %option caseless @@@@ -468,7 +468,7 @@@@ exit (EXIT_FAILURE); } yy_delete_buffer (YY_CURRENT_BUFFER); - YY_CURRENT_BUFFER = yy_create_buffer (yyin, sinf.st_size+10); + YY_CURRENT_BUFFER_LVALUE = yy_create_buffer (yyin, sinf.st_size+10); } @ 1.2.4.1 log @Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class) @ text @d2 3 a4 3 --- src/boxes.c.orig 2006-07-23 20:03:43 +0200 +++ src/boxes.c 2006-07-24 08:11:53 +0200 @@@@ -232,7 +232,13 @@@@ d18 28 @ 1.1 log @port to newer Flex versions @ text @d1 17 d20 1 a20 1 +++ src/lexer.l 2005-01-24 14:57:00 +0100 @