update to 2.5.7; update master list; fake.

while we're here, fix a stupid bo (there are prolly more, tho)
This commit is contained in:
fgsch 2000-05-30 09:28:42 +00:00
parent 57b7c4eb42
commit afb23a0752
3 changed files with 15 additions and 13 deletions

View File

@ -1,10 +1,9 @@
# $OpenBSD: Makefile,v 1.16 2000/05/21 12:39:01 fgsch Exp $
# $OpenBSD: Makefile,v 1.17 2000/05/30 09:28:42 fgsch Exp $
DISTNAME= xpaint-2.5.5
DISTNAME= xpaint-2.5.7
CATEGORIES= graphics x11
NEED_VERSION= 1.230
FAKE=No
MASTER_SITES= http://www.danbbs.dk/~torsten/xpaint/
NEED_VERSION= 1.230
MASTER_SITES= http://home.worldonline.dk/~torsten/xpaint/
MAINTAINER= angelos@openbsd.org
@ -18,6 +17,8 @@ LIB_DEPENDS= jpeg.62::graphics/jpeg \
tiff.35::graphics/tiff \
png.1.6::graphics/png
FAKE= Yes
USE_IMAKE= Yes
WRKDIST= ${WRKDIR}/xpaint

View File

@ -1,3 +1,3 @@
MD5 (xpaint-2.5.5.tar.gz) = eba215e3946606b4503ccd9c5549bc31
RMD160 (xpaint-2.5.5.tar.gz) = 6de4701046b8ca2c14af5b2495c2e0e0e1c6f4c5
SHA1 (xpaint-2.5.5.tar.gz) = d4825a7f881f2977d41a78d44111a9dfec13d2cc
MD5 (xpaint-2.5.7.tar.gz) = 878f6773a46ad2354772b17b1a9f3963
RMD160 (xpaint-2.5.7.tar.gz) = 76dc9149d904398553e100f101ecaddbda80c397
SHA1 (xpaint-2.5.7.tar.gz) = 218efafe5b494f309fc427355c5da12d82703998

View File

@ -1,5 +1,5 @@
--- readRC.c.orig Tue Jun 25 04:50:39 1996
+++ readRC.c Fri Oct 29 18:08:12 1999
--- readRC.c.orig Tue Jun 25 05:50:39 1996
+++ readRC.c Tue May 30 06:09:51 2000
@@ -30,12 +30,6 @@
#include <unistd.h>
#endif
@ -13,7 +13,7 @@
#define RC_FILENAME ".XPaintrc"
static String defaultRC[] =
@@ -66,17 +60,19 @@
@@ -66,17 +60,18 @@ openTemp(char **np)
{
char *n;
char xx[256];
@ -22,9 +22,10 @@
if ((n = getenv("TMPDIR")) == NULL)
n = "/tmp";
strcpy(xx, n);
strcat(xx, "/XPaintXXXXXXX");
- strcpy(xx, n);
- strcat(xx, "/XPaintXXXXXXX");
- n = mktemp(xx);
+ snprintf(xx, 256, "%s/%s", n, "/XPaintXXXXXXX");
+ fd = mkstemp(xx);
+ n = xx;
tempName[++tempIndex] = XtNewString(n);