head 1.8; access; symbols OPENPKG_E1_MP_HEAD:1.1 OPENPKG_E1_MP:1.1 OPENPKG_E1_MP_2_STABLE:1.1.2.2 OPENPKG_E1_FP:1.1.2.2 OPENPKG_2_STABLE_MP:1.1 OPENPKG_2_STABLE_20061018:1.1.2.2 OPENPKG_2_STABLE:1.1.0.2; locks; strict; comment @# @; 1.8 date 2009.10.14.09.10.49; author rse; state Exp; branches; next 1.7; commitid vgNMRmmDvUR8Yt7u; 1.7 date 2008.08.30.07.23.48; author rse; state Exp; branches; next 1.6; commitid Yq1OGlXMAyAvyMgt; 1.6 date 2008.05.21.18.27.38; author rse; state Exp; branches; next 1.5; commitid dbUhF5IIi2KwtR3t; 1.5 date 2008.02.14.08.22.31; author rse; state Exp; branches; next 1.4; commitid AHUl6SoFB9HfflRs; 1.4 date 2008.01.23.20.05.43; author rse; state Exp; branches; next 1.3; commitid IWkvIDh3frZjQzOs; 1.3 date 2007.11.22.07.15.10; author cs; state Exp; branches; next 1.2; commitid cE4hRvWPKwzxzxGs; 1.2 date 2007.09.16.07.28.28; author rse; state Exp; branches; next 1.1; commitid sDQXfaWriMaDNVxs; 1.1 date 2006.10.09.06.19.31; author rse; state Exp; branches 1.1.2.1; next ; commitid lvoaiAFx7rlypYPr; 1.1.2.1 date 2006.10.09.06.19.31; author rse; state dead; branches; next 1.1.2.2; commitid iZxwRSmmWscPXUQr; 1.1.2.2 date 2006.10.16.14.58.24; author rse; state Exp; branches; next ; commitid iZxwRSmmWscPXUQr; desc @@ 1.8 log @upgrading package: xjobs 20080824 -> 20091012 @ text @Index: Makefile.in --- Makefile.in.orig 2009-10-12 23:45:13 +0200 +++ Makefile.in 2009-10-14 10:42:30 +0200 @@@@ -25,7 +25,7 @@@@ $(OBJECTS): config.h Makefile $(TARGET): $(OBJECTS) - $(CC) $(CFLAGS) $(LDFLAGS) $(OBJECTS) $(LIBS) -o $@@ + $(CC) $(CFLAGS) $(LDFLAGS) $(OBJECTS) -o $@@ $(LIBS) %.o: %.c $(CC) $(CFLAGS) -c $< -o $@@ Index: tokenizer.l --- tokenizer.l.orig 2009-10-12 23:45:13 +0200 +++ tokenizer.l 2009-10-14 10:42:30 +0200 @@@@ -1,11 +1,4 @@@@ %pointer -%e 150 -%p 300 -%n 40 -%k 80 -%a 150 -%o 400 - %{ /* Index: xjobs.c --- xjobs.c.orig 2009-10-12 23:45:13 +0200 +++ xjobs.c 2009-10-14 10:42:30 +0200 @@@@ -7,9 +7,6 @@@@ #include "config.h" #endif -#ifdef HAVE_ALLOCA_H -#include -#endif #include #include #include @@@@ -100,11 +97,13 @@@@ static RETSIGTYPE processSignal(int sig) { switch (sig) { +#if defined(SIGPOLL) case SIGPOLL: if (Verbose == Debug) (void) write(STDERR_FILENO,"SIGPOLL\n",8); ++InputsWaiting; break; +#endif case SIGTERM: if (Verbose == Debug) (void) write(STDERR_FILENO,"SIGTERM\n",8); @@@@ -1012,10 +1011,14 @@@@ dbug("input script is a named pipe\n"); sig.sa_handler = processSignal; sigemptyset(&sig.sa_mask); +#if defined(SIGPOLL) sigaddset(&sig.sa_mask,SIGPOLL); +#endif sig.sa_flags = SA_RESTART; +#if defined(SIGPOLL) ret = sigaction(SIGPOLL,&sig,0); assert(ret == 0); +#endif #ifndef __CYGWIN__ (void) open(optarg,O_WRONLY); #endif @@@@ -1257,10 +1260,14 @@@@ dbug("wait blocking - listening for new pipe connection\n"); sig.sa_handler = processSignal; sigemptyset(&sig.sa_mask); +#if defined(SIGPOLL) sigaddset(&sig.sa_mask,SIGPOLL); +#endif sig.sa_flags = 0; +#if defined(SIGPOLL) ret = sigaction(SIGPOLL,&sig,&orig); assert(ret == 0); +#endif restore = 1; } #ifdef HAVE_WAIT4 @@@@ -1280,8 +1287,10 @@@@ } #endif if (restore) { +#if defined(SIGPOLL) ret = sigaction(SIGPOLL,&orig,0); assert(ret == 0); +#endif } start_jobs(); } @ 1.7 log @upgrading package: xjobs 20080520 -> 20080824 @ text @d2 2 a3 2 --- Makefile.in.orig 2008-08-29 17:56:02 +0200 +++ Makefile.in 2008-08-30 09:19:23 +0200 a12 10 @@@@ -43,7 +43,8 @@@@ install: $(TARGET) -$(INSTALL) -d $(DESTDIR)$(bindir) $(INSTALL) $(TARGET) $(DESTDIR)$(bindir) - $(INSTALL) xjobs.1 $(mandir) + -$(INSTALL) -d $(DESTDIR)$(mandir) + $(INSTALL) xjobs.1 $(DESTDIR)$(mandir) lint: lint $(CFLAGS) $(SOURCES) d14 2 a15 2 --- tokenizer.l.orig 2008-08-29 17:56:02 +0200 +++ tokenizer.l 2008-08-30 09:19:23 +0200 d29 2 a30 2 --- xjobs.c.orig 2008-08-29 17:56:02 +0200 +++ xjobs.c 2008-08-30 09:22:07 +0200 d41 1 a41 1 @@@@ -96,11 +93,13 @@@@ d55 1 a55 1 @@@@ -994,10 +993,14 @@@@ d70 1 a70 1 @@@@ -1239,10 +1242,14 @@@@ d85 1 a85 1 @@@@ -1262,8 +1269,10 @@@@ @ 1.6 log @upgrading package: xjobs 20080322 -> 20080520 @ text @d2 2 a3 2 --- Makefile.in.orig 2008-05-20 21:31:54 +0200 +++ Makefile.in 2008-05-21 20:24:20 +0200 d13 1 a13 1 @@@@ -43,4 +43,5 @@@@ d20 3 d24 2 a25 2 --- tokenizer.l.orig 2008-05-20 21:31:54 +0200 +++ tokenizer.l 2008-05-21 20:23:53 +0200 d39 3 a41 3 --- xjobs.c.orig 2008-05-20 21:31:54 +0200 +++ xjobs.c 2008-05-21 20:23:53 +0200 @@@@ -7,7 +7,6 @@@@ d45 1 d47 1 d51 55 @ 1.5 log @upgrading package: xjobs 20080122 -> 20080213 @ text @d1 19 a19 14 Index: Makefile --- Makefile.orig 2008-02-13 15:51:44 +0100 +++ Makefile 2008-02-14 09:20:29 +0100 @@@@ -25,8 +25,8 @@@@ CC = cc CFLAGS = -O $(LFS_CFLAGS) $(HAVESPAWN) #CFLAGS = -g $(LFS_CFLAGS) #$(HAVESPAWN) -DDEBUGLEX -LDFLAGS = -lm $(LFS_LDFLAGS) -LIBS = $($(OS)-LIBS) $(LFS_LIBS) +LDFLAGS = $(LFS_LDFLAGS) +LIBS = $($(OS)-LIBS) $(LFS_LIBS) -lm RM = rm -f MKDIR = mkdir -p CP = cp d21 2 a22 2 --- tokenizer.l.orig 2008-02-13 11:30:47 +0100 +++ tokenizer.l 2008-02-14 09:20:40 +0100 d36 5 a40 5 --- xjobs.c.orig 2008-02-13 15:51:38 +0100 +++ xjobs.c 2008-02-14 09:16:21 +0100 @@@@ -6,7 +6,6 @@@@ /* To compile, we need SUS/XPG4v2 or later. */ /*#define _XOPEN_SOURCE 500*/ @ 1.4 log @upgrading package: xjobs 20071122 -> 20080122 @ text @d2 3 a4 3 --- Makefile.orig 2008-01-22 09:39:13 +0100 +++ Makefile 2008-01-23 20:59:34 +0100 @@@@ -18,8 +18,8 @@@@ d6 6 a11 6 #CFLAGS = -O $(HAVESPAWN) CFLAGS = -g $(HAVESPAWN) -LDFLAGS = -lm -LIBS = $($(OS)-LIBS) +LDFLAGS = +LIBS = $($(OS)-LIBS) -lm d16 2 a17 2 --- tokenizer.l.orig 2007-11-22 00:38:14 +0100 +++ tokenizer.l 2008-01-23 21:00:10 +0100 d20 2 a21 2 -%e 100 -%p 200 d23 3 a25 3 -%k 50 -%a 100 -%o 500 d31 2 a32 2 --- xjobs.c.orig 2008-01-22 16:12:52 +0100 +++ xjobs.c 2008-01-23 20:59:34 +0100 @ 1.3 log @upgrading package: xjobs 20070923 -> 20071122 @ text @d2 2 a3 2 --- Makefile.orig 2007-11-22 02:02:07 +0100 +++ Makefile 2007-11-22 08:10:31 +0100 d6 2 a7 2 CFLAGS = -O $(HAVESPAWN) #CFLAGS = -g $(HAVESPAWN) d10 1 a10 1 +LDFLAGS = d15 15 d31 2 a32 2 --- xjobs.c.orig 2007-09-15 16:55:50 +0200 +++ xjobs.c 2007-09-16 09:26:56 +0200 @ 1.2 log @upgrading package: xjobs 20061008 -> 20070915 @ text @d2 3 a4 4 --- Makefile.orig 2007-09-15 16:58:31 +0200 +++ Makefile 2007-09-16 09:27:40 +0200 @@@@ -17,8 +17,8 @@@@ LEX = lex d7 1 @ 1.1 log @new package: xjobs 20061008 (Parallel Execution of Jobs) @ text @d2 3 a4 3 --- Makefile.orig 2006-10-09 01:04:16 +0200 +++ Makefile 2006-10-09 08:18:39 +0200 @@@@ -13,8 +13,8 @@@@ d8 1 a8 1 -LDFLAGS = -lm #-lumem d10 1 a10 1 +LDFLAGS = d16 2 a17 2 --- xjobs.c.orig 2006-10-09 01:10:53 +0200 +++ xjobs.c 2006-10-09 08:18:03 +0200 @ 1.1.2.1 log @file xjobs.patch was added on branch OPENPKG_2_STABLE on 2006-10-16 14:58:24 +0000 @ text @d1 25 @ 1.1.2.2 log @Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class) @ text @a0 25 Index: Makefile --- Makefile.orig 2006-10-09 01:04:16 +0200 +++ Makefile 2006-10-09 08:18:39 +0200 @@@@ -13,8 +13,8 @@@@ LEX = lex CC = cc CFLAGS = -O $(HAVESPAWN) -LDFLAGS = -lm #-lumem -LIBS = $($(OS)-LIBS) +LDFLAGS = +LIBS = $($(OS)-LIBS) -lm RM = rm -f MKDIR = mkdir -p CP = cp Index: xjobs.c --- xjobs.c.orig 2006-10-09 01:10:53 +0200 +++ xjobs.c 2006-10-09 08:18:03 +0200 @@@@ -6,7 +6,6 @@@@ /* To compile, we need SUS/XPG4v2 or later. */ /*#define _XOPEN_SOURCE 500*/ -#include #include #include #include @