Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Apr 2001 13:49:59 +0400 (MSD)
From:      Alex Kapranoff <kappa@zombie.antar.bryansk.ru>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/26669: [port update] deskutils/wmpinboard
Message-ID:  <200104180949.f3I9nxs78314@zombie.antar.bryansk.ru>

next in thread | raw e-mail | index | archive | help

>Number:         26669
>Category:       ports
>Synopsis:       [port update] deskutils/wmpinboard
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 18 02:50:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Alex Kapranoff
>Release:        FreeBSD 4.3-RC i386
>Organization:
Inner Mongolia
>Environment:
System: FreeBSD zombie.antar.bryansk.ru 4.3-RC FreeBSD 4.3-RC #5: Mon Mar 26 12:42:11 MSD 2001 root@zombie.antar.bryansk.ru:/usr/src/sys/compile/ZOMBIE i386


	
>Description:
	I fell in love with this proggie :)
>How-To-Repeat:
	
>Fix:

diff -ruN /usr/ports/deskutils/wmpinboard/Makefile ./Makefile
--- /usr/ports/deskutils/wmpinboard/Makefile	Wed Jan 10 08:00:56 2001
+++ ./Makefile	Wed Apr 18 13:39:35 2001
@@ -6,22 +6,19 @@
 #
 
 PORTNAME=	wmpinboard
-PORTVERSION=	0.10
+PORTVERSION=	1.0
 CATEGORIES=	deskutils afterstep windowmaker
 MASTER_SITES=	http://www.tu-ilmenau.de/~gomar/stuff/wmpinboard/ \
 		http://soupnazi.org/FreeBSD/ports/distfiles/
 
 MAINTAINER=	jim@FreeBSD.org
 
-WRKSRC=		${WRKDIR}/wmpinboard.app
-
 USE_BZIP2=	yes
-USE_IMAKE=	yes
 USE_XPM=	yes
+GNU_CONFIGURE=	yes
 
-MAN1=		wmpinboard.1
+INSTALL_TARGET=	install-strip
 
-post-extract:
-	(cd ${WRKSRC}; ${CP} -p wmpinboard.1 wmpinboard.man)
+MAN1=		wmpinboard.1
 
 .include <bsd.port.mk>
diff -ruN /usr/ports/deskutils/wmpinboard/distinfo ./distinfo
--- /usr/ports/deskutils/wmpinboard/distinfo	Mon Nov  8 22:50:40 1999
+++ ./distinfo	Wed Apr 18 12:25:44 2001
@@ -1 +1 @@
-MD5 (wmpinboard-0.10.tar.bz2) = 3517fe843867ae8c3c925e1328b22f4a
+MD5 (wmpinboard-1.0.tar.bz2) = 5a270397f7765b3416abae43d020a0c9
diff -ruN /usr/ports/deskutils/wmpinboard/files/patch-ac ./files/patch-ac
--- /usr/ports/deskutils/wmpinboard/files/patch-ac	Tue Jan  9 22:35:44 2001
+++ ./files/patch-ac	Thu Jan  1 03:00:00 1970
@@ -1,16 +0,0 @@
---- Imakefile.orig	Sat Oct 23 19:49:37 1999
-+++ Imakefile	Wed Nov  1 09:24:28 2000
-@@ -36,9 +36,9 @@
- all::
- 	@test -e ./ReleaseNotes && cat ReleaseNotes || true
- 
--install::
--	$(INSTALL) -m 0644 wmpinboard.1 $(DESTDIR)/man/man1
-+#install::
-+#	$(INSTALL) -m 0644 wmpinboard.1 $(DESTDIR)/man/man1
- 
--DESTDIR = /usr/local
--BINDIR  = /bin
-+#DESTDIR = /usr/local
-+#BINDIR  = /bin
- 
diff -ruN /usr/ports/deskutils/wmpinboard/files/patch-configure ./files/patch-configure
--- /usr/ports/deskutils/wmpinboard/files/patch-configure	Thu Jan  1 03:00:00 1970
+++ ./files/patch-configure	Wed Apr 18 13:02:33 2001
@@ -0,0 +1,11 @@
+--- configure.orig	Wed Apr 18 13:02:06 2001
++++ configure	Wed Apr 18 13:02:10 2001
+@@ -1035,7 +1035,7 @@
+ cross_compiling=$ac_cv_prog_cc_cross
+ 
+ 
+-CFLAGS="$CFLAGS -D_BSD_SOURCE -D_POSIX_SOURCE=199506L"
++#CFLAGS="$CFLAGS -D_BSD_SOURCE -D_POSIX_SOURCE=199506L"
+ 
+ if test x$GCC = xyes; then
+   CFLAGS="$CFLAGS -Wall -ansi -pedantic"
diff -ruN /usr/ports/deskutils/wmpinboard/files/patch-src::Makefile.in ./files/patch-src::Makefile.in
--- /usr/ports/deskutils/wmpinboard/files/patch-src::Makefile.in	Thu Jan  1 03:00:00 1970
+++ ./files/patch-src::Makefile.in	Wed Apr 18 13:18:10 2001
@@ -0,0 +1,11 @@
+--- Makefile.in.orig	Wed Apr 18 13:15:59 2001
++++ src/Makefile.in	Wed Apr 18 13:16:06 2001
+@@ -86,7 +86,7 @@
+ X_LIBS = @X_LIBS@
+ X_EXTRA_LIBS = @X_EXTRA_LIBS@
+ X_PRE_LIBS = @X_PRE_LIBS@
+-wmpinboard_OBJECTS =  misc.o notes.o wmpinboard.o xmisc.o
++wmpinboard_OBJECTS =  misc.o notes.o wmpinboard.o xmisc.o getopt.o getopt1.o
+ wmpinboard_LDADD = $(LDADD)
+ wmpinboard_DEPENDENCIES = 
+ wmpinboard_LDFLAGS = 
diff -ruN /usr/ports/deskutils/wmpinboard/files/patch-src::getopt.c ./files/patch-src::getopt.c
--- /usr/ports/deskutils/wmpinboard/files/patch-src::getopt.c	Thu Jan  1 03:00:00 1970
+++ ./files/patch-src::getopt.c	Wed Apr 18 13:26:57 2001
@@ -0,0 +1,30 @@
+--- getopt.c.orig	Wed Sep  1 17:49:35 1999
++++ src/getopt.c	Wed Apr 18 13:26:19 2001
+@@ -73,9 +73,9 @@
+ 
+ #ifdef VMS
+ #include <unixlib.h>
+-#if HAVE_STRING_H - 0
+-#include <string.h>
+ #endif
++#if HAVE_STRING_H
++#include <string.h>
+ #endif
+ 
+ #if defined (WIN32) && !defined (__CYGWIN32__)
+@@ -650,6 +650,7 @@
+ 				else
+ 				{
+ 					if (opterr)
++					{
+ 						if (argv[optind - 1][1] == '-')
+ 							/* --option */
+ 							fprintf(stderr,
+@@ -660,6 +661,7 @@
+ 							fprintf(stderr,
+ 								_("%s: option `%c%s' doesn't allow an argument\n"),
+ 								argv[0], argv[optind - 1][0], pfound->name);
++					}
+ 
+ 					nextchar += strlen(nextchar);
+ 
diff -ruN /usr/ports/deskutils/wmpinboard/files/patch-src::misc.c ./files/patch-src::misc.c
--- /usr/ports/deskutils/wmpinboard/files/patch-src::misc.c	Thu Jan  1 03:00:00 1970
+++ ./files/patch-src::misc.c	Wed Apr 18 12:47:17 2001
@@ -0,0 +1,10 @@
+--- misc.c.orig	Thu Mar 16 19:54:45 2000
++++ src/misc.c	Wed Apr 18 12:45:21 2001
+@@ -8,6 +8,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <time.h>
++#include <sys/types.h>
+ #include <sys/stat.h>
+ 
+ #include "wmpinboard.h"
diff -ruN /usr/ports/deskutils/wmpinboard/files/patch-src::wmpinboard.c ./files/patch-src::wmpinboard.c
--- /usr/ports/deskutils/wmpinboard/files/patch-src::wmpinboard.c	Thu Jan  1 03:00:00 1970
+++ ./files/patch-src::wmpinboard.c	Wed Apr 18 13:07:35 2001
@@ -0,0 +1,24 @@
+--- wmpinboard.c.orig	Thu Apr 13 15:01:17 2000
++++ src/wmpinboard.c	Wed Apr 18 13:06:36 2001
+@@ -10,6 +10,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <time.h>
++#include <sys/types.h>
+ #include <sys/stat.h>
+ #include <sys/time.h>
+ 
+@@ -1141,13 +1142,7 @@
+ void
+ timer(unsigned int intv)
+ {
+-#ifndef __GLIBC__
+-  struct itimerval val = { { 0, intv }, { 0, intv } };
+-
+-  setitimer(ITIMER_REAL, &val, 0);
+-#else
+   ualarm(intv, intv);
+-#endif
+ }
+ 
+ /*
diff -ruN /usr/ports/deskutils/wmpinboard/files/patch-src::xmisc.c ./files/patch-src::xmisc.c
--- /usr/ports/deskutils/wmpinboard/files/patch-src::xmisc.c	Thu Jan  1 03:00:00 1970
+++ ./files/patch-src::xmisc.c	Wed Apr 18 13:23:45 2001
@@ -0,0 +1,11 @@
+--- xmisc.c.orig	Wed Apr 18 13:23:16 2001
++++ src/xmisc.c	Wed Apr 18 13:23:22 2001
+@@ -298,7 +298,7 @@
+   if (cb_buffer) free(cb_buffer);
+   l = len < 0 ? strlen(text) : len;
+   cb_buffer = smalloc(l+1);
+-  strncpy(cb_buffer, text, l);
++  strncpy((char *)cb_buffer, text, l);
+   cb_buffer[l] = 0;
+ 
+   XSetSelectionOwner(display, XA_PRIMARY, win, CurrentTime);
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104180949.f3I9nxs78314>