Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Dec 2000 10:02:20 -0800 (PST)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/23274: Update port: graphics/xpaint to 2.6.1 (fix ports/21799)
Message-ID:  <200012041802.eB4I2Kq56451@freefall.freebsd.org>
Resent-Message-ID: <200012041810.eB4IA2j59424@freefall.freebsd.org>

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

>Number:         23274
>Category:       ports
>Synopsis:       Update port: graphics/xpaint to 2.6.1 (fix ports/21799)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 04 10:10:02 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.2-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 2.6.1

Remove file:
files/patch-ac  files/patch-ad

This PR supersedes ports/21799.

No response from maintainer.

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/graphics/xpaint/Makefile graphics/xpaint/Makefile
--- /usr/ports/graphics/xpaint/Makefile	Thu Aug  3 21:16:00 2000
+++ graphics/xpaint/Makefile	Wed Oct  4 00:08:49 2000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	xpaint
-PORTVERSION=	2.5.7
+PORTVERSION=	2.6.1
 CATEGORIES=	graphics
 MASTER_SITES=	http://home.worldonline.dk/~torsten/xpaint/ \
 		ftp://ftp.win.ne.jp/pub/graphics/
@@ -16,7 +16,7 @@
 LIB_DEPENDS=	tiff.4:${PORTSDIR}/graphics/tiff \
 		png.4:${PORTSDIR}/graphics/png
 
-WRKSRC=		${WRKDIR}/xpaint
+WRKSRC=		${WRKDIR}/${PORTNAME}
 USE_IMAKE=	yes
 USE_XPM=	yes
 MAN1=		xpaint.1
diff -urN /usr/ports/graphics/xpaint/distinfo graphics/xpaint/distinfo
--- /usr/ports/graphics/xpaint/distinfo	Wed Mar 22 00:45:57 2000
+++ graphics/xpaint/distinfo	Wed Oct  4 00:09:32 2000
@@ -1 +1 @@
-MD5 (xpaint-2.5.7.tar.gz) = 878f6773a46ad2354772b17b1a9f3963
+MD5 (xpaint-2.6.1.tar.gz) = 0d3f8e265ae2e9cf121a10242444370e
diff -urN /usr/ports/graphics/xpaint/files/patch-ab graphics/xpaint/files/patch-ab
--- /usr/ports/graphics/xpaint/files/patch-ab	Wed Mar 22 00:45:58 2000
+++ graphics/xpaint/files/patch-ab	Wed Oct  4 00:13:17 2000
@@ -1,20 +1,20 @@
---- fileName.c.orig	Wed Feb 25 05:38:43 1998
-+++ fileName.c	Fri Mar 17 00:46:02 2000
+--- fileName.c.orig	Wed Oct  4 00:11:54 2000
++++ fileName.c	Wed Oct  4 00:13:04 2000
 @@ -37,7 +37,7 @@
  #include <stdio.h>
  #include <sys/types.h>
  #include <sys/stat.h>
--#if defined(SYSV) || defined(SVR4) || defined(__CYGWIN32__)
-+#if defined(SYSV) || defined(SVR4) || defined(__CYGWIN32__) || defined(__FreeBSD__)
+-#if defined(SYSV) || defined(SVR4) || defined(__CYGWIN__)
++#if defined(SYSV) || defined(SVR4) || defined(__CYGWIN__) || defined(__FreeBSD__)
  #include <dirent.h>
  #else
  #include <sys/dir.h>
-@@ -375,7 +375,7 @@
+@@ -395,7 +395,7 @@
  setCWD(arg_t * arg, char *dir)
  {
      DIR *dirp;
--#if defined(SYSV) || defined(SVR4) || defined(__alpha) || defined(__CYGWIN32__)
-+#if defined(SYSV) || defined(SVR4) || defined(__alpha) || defined(__CYGWIN32__) || defined(__FreeBSD__)
+-#if defined(SYSV) || defined(SVR4) || defined(__alpha) || defined(__CYGWIN__)
++#if defined(SYSV) || defined(SVR4) || defined(__alpha) || defined(__CYGWIN__) || defined(__FreeBSD__)
      struct dirent *e;
  #else
      struct direct *e;
diff -urN /usr/ports/graphics/xpaint/files/patch-ac graphics/xpaint/files/patch-ac
--- /usr/ports/graphics/xpaint/files/patch-ac	Wed Mar 22 00:45:58 2000
+++ graphics/xpaint/files/patch-ac	Thu Jan  1 09:00:00 1970
@@ -1,11 +0,0 @@
---- main.c.orig	Wed Jun 10 06:14:27 1998
-+++ main.c	Fri Mar 17 01:18:33 2000
-@@ -275,7 +275,7 @@
- }
- 
- 
--void 
-+int
- main(int argc, char *argv[])
- {
-     Display *dpy;
diff -urN /usr/ports/graphics/xpaint/files/patch-ad graphics/xpaint/files/patch-ad
--- /usr/ports/graphics/xpaint/files/patch-ad	Wed Mar 22 00:45:58 2000
+++ graphics/xpaint/files/patch-ad	Thu Jan  1 09:00:00 1970
@@ -1,20 +0,0 @@
---- misc.h.orig	Wed Jun 10 06:07:47 1998
-+++ misc.h	Fri Mar 17 01:34:25 2000
-@@ -23,7 +23,7 @@
- long random(void);
- #endif
- 
--#if !defined(linux) & !defined(__EMX__) & !defined(__FreeBSD__)
-+#if !defined(linux) & !defined(__EMX__) & !defined(__FreeBSD__) & !defined(__OpenBSD__)
- #if defined(BSD4_4) || defined(HPArchitecture) || defined(SGIArchitecture) || defined(_AIX) || defined(_SCO_DS)
- void srandom(unsigned int);
- #else
-@@ -102,7 +102,7 @@
- void GetDefaultWH(int *w, int *h);
- char *GetDefaultRC(void);
- void SetIconImage(Widget w);
--void main(int argc, char *argv[]);
-+int main(int argc, char *argv[]);
- 
- /* misc.c */
- Widget GetToplevel(Widget w);
diff -urN /usr/ports/graphics/xpaint/files/patch-af graphics/xpaint/files/patch-af
--- /usr/ports/graphics/xpaint/files/patch-af	Wed Mar 22 00:45:59 2000
+++ graphics/xpaint/files/patch-af	Wed Oct  4 00:18:25 2000
@@ -1,11 +1,11 @@
---- rw/libpnmrw.c.orig	Wed Jun 10 06:08:57 1998
-+++ rw/libpnmrw.c	Fri Mar 17 01:40:21 2000
+--- rw/libpnmrw.c.orig	Wed Oct  4 00:16:52 2000
++++ rw/libpnmrw.c	Wed Oct  4 00:18:10 2000
 @@ -46,7 +46,7 @@
  
  void *malloc(int);
  void free(void *);
--#if defined(__EMX__) || defined(__CYGWIN32__)
-+#if defined(__EMX__) || defined(__CYGWIN32__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+-#if defined(__EMX__) || defined(__CYGWIN__)
++#if defined(__EMX__) || defined(__CYGWIN__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
  #include <errno.h>
  #endif
  
@@ -17,9 +17,9 @@
  #if defined(BSD4_4)
      __const extern char *__const sys_errlist[];
  #else
-@@ -140,6 +141,7 @@
+@@ -146,6 +147,7 @@
  #endif
- #if !defined(__EMX__) || defined(__CYGWIN32__)
+ #if !defined(__EMX__) || defined(__CYGWIN__)
      extern int errno;
 +#endif
  #endif


>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?200012041802.eB4I2Kq56451>