From f9082c0cebf031d387dd57afe65693409d09fa1e Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Wed, 30 Apr 2008 12:39:14 +0000 Subject: update to 1.6.2 --- misc/alevt/Makefile | 3 +-- misc/alevt/distinfo | 6 +++--- misc/alevt/files/patch-aa | 26 ++++++++++++++++---------- misc/alevt/files/patch-xio.c | 28 ++++------------------------ 4 files changed, 24 insertions(+), 39 deletions(-) (limited to 'misc') diff --git a/misc/alevt/Makefile b/misc/alevt/Makefile index 9024a70ed830..3d3a6eb461a2 100644 --- a/misc/alevt/Makefile +++ b/misc/alevt/Makefile @@ -6,8 +6,7 @@ # PORTNAME= alevt -PORTVERSION= 1.6.1 -PORTREVISION= 3 +PORTVERSION= 1.6.2 CATEGORIES= misc MASTER_SITES= http://www.goron.de/~froese/alevt/ diff --git a/misc/alevt/distinfo b/misc/alevt/distinfo index 44ff8f9333cb..44a30bd99dcf 100644 --- a/misc/alevt/distinfo +++ b/misc/alevt/distinfo @@ -1,3 +1,3 @@ -MD5 (alevt-1.6.1.tar.gz) = df6e241c6e2c6505c95d50cde0e1bc73 -SHA256 (alevt-1.6.1.tar.gz) = 38a3cf23afd48970ee2bc0c63d2152614082cefc7b5ab346c5f4cda22ea707b7 -SIZE (alevt-1.6.1.tar.gz) = 117731 +MD5 (alevt-1.6.2.tar.gz) = e5a32776e7eff48ec48449b3c3c1cc23 +SHA256 (alevt-1.6.2.tar.gz) = 9347c2af4b528edec87df8a424ddccebcc252ca7a06f6b18310733cfa547e5f5 +SIZE (alevt-1.6.2.tar.gz) = 133234 diff --git a/misc/alevt/files/patch-aa b/misc/alevt/files/patch-aa index 90d529d266c1..23bdb58d8a27 100644 --- a/misc/alevt/files/patch-aa +++ b/misc/alevt/files/patch-aa @@ -1,8 +1,8 @@ ---- Makefile.orig Tue Aug 20 05:17:53 2002 -+++ Makefile Wed May 25 13:55:10 2005 -@@ -1,33 +1,35 @@ - VER=1.6.1 --OPT=-O2 -s +--- Makefile.orig 2007-12-03 05:19:54.000000000 +0000 ++++ Makefile 2008-04-30 12:36:24.000000000 +0000 +@@ -1,37 +1,40 @@ + VER=1.6.2 +-OPT=-O2 -s -w -#OPT=-O -g + +.if defined(WITH_PNG) @@ -14,11 +14,18 @@ +FONT=neep9 +.else FONT=vtxt +-USR_X11R6=/usr/X11R6 ++.endif ++ ++USR_X11R6=/usr/local + #USR_X11R6=/usr + MAN_DIR=man + #MAN_DIR=share/man + HOSTCC=$(CC) -# a smaller and thinner font -#FONT=neep9 -+.endif --CFLAGS=$(OPT) -DVERSION=\"$(VER)\" $(DEFS) -I/usr/X11R6/include -I/usr/local/include -W +-CFLAGS=$(OPT) -DVERSION=\"$(VER)\" $(DEFS) -I$(USR_X11R6)/include +CFLAGS+=-DVERSION=\"$(VER)\" $(DEFS) -I${LOCALBASE}/include -W +X11_LIBS=-L${LOCALBASE}/lib -lX11 @@ -28,14 +35,13 @@ COBJS=alevt-cap.o vbi.o fdset.o misc.o hamm.o lang.o $(EXPOBJS) -ifneq ($(findstring WITH_PNG,$(DEFS)),) --EXPLIBS=-L/usr/local/lib -lpng -lz -lm +-EXPLIBS=-lpng -lz -lm -endif - all: alevt alevt-date alevt-cap alevt.1x alevt-date.1 alevt-cap.1 - sync alevt: $(OBJS) -- $(CC) $(OPT) $(OBJS) -o alevt -L/usr/X11R6/lib -lX11 $(EXPLIBS) +- $(CC) $(OPT) $(OBJS) -o alevt -L$(USR_X11R6)/lib -L$(USR_X11R6)/lib64 -lX11 $(EXPLIBS) + $(CC) $(CFLAGS) $(OBJS) -o alevt $(PNG_LIBS) $(X11_LIBS) alevt-date: $(TOBJS) diff --git a/misc/alevt/files/patch-xio.c b/misc/alevt/files/patch-xio.c index 0f80a2cdf1b2..9f8a5cd55ef6 100644 --- a/misc/alevt/files/patch-xio.c +++ b/misc/alevt/files/patch-xio.c @@ -1,30 +1,10 @@ ---- xio.c.orig 2002-08-20 05:09:38.000000000 +0200 -+++ xio.c 2007-08-23 07:48:59.587926513 +0200 -@@ -31,11 +31,11 @@ - - static struct dl_head dpys[1]; /* list of all displays */ - -+static void xio_timer(); - - static int - timer_init(int argc, char **argv) - { -- static void xio_timer(); - int p[2], timer_pid, i; - - if (pipe(p) == -1) -@@ -154,13 +154,12 @@ - fdset_del_fd(fds, fd); +--- xio.c.orig 2007-12-03 06:18:04.000000000 +0000 ++++ xio.c 2008-04-30 12:37:57.000000000 +0000 +@@ -156,6 +156,7 @@ } -- + +static void handle_event(); //forward ref struct xio * xio_open_dpy(char *dpy, int argc, char **argv) - { - XClassHint classhint[1]; -- static void handle_event(); //forward ref - struct xio *xio; - - if (local_init(argc, argv) == -1) -- cgit v1.2.3