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:
parent
57b7c4eb42
commit
afb23a0752
@ -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
|
CATEGORIES= graphics x11
|
||||||
NEED_VERSION= 1.230
|
NEED_VERSION= 1.230
|
||||||
FAKE=No
|
MASTER_SITES= http://home.worldonline.dk/~torsten/xpaint/
|
||||||
MASTER_SITES= http://www.danbbs.dk/~torsten/xpaint/
|
|
||||||
|
|
||||||
MAINTAINER= angelos@openbsd.org
|
MAINTAINER= angelos@openbsd.org
|
||||||
|
|
||||||
@ -18,6 +17,8 @@ LIB_DEPENDS= jpeg.62::graphics/jpeg \
|
|||||||
tiff.35::graphics/tiff \
|
tiff.35::graphics/tiff \
|
||||||
png.1.6::graphics/png
|
png.1.6::graphics/png
|
||||||
|
|
||||||
|
FAKE= Yes
|
||||||
|
|
||||||
USE_IMAKE= Yes
|
USE_IMAKE= Yes
|
||||||
|
|
||||||
WRKDIST= ${WRKDIR}/xpaint
|
WRKDIST= ${WRKDIR}/xpaint
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
MD5 (xpaint-2.5.5.tar.gz) = eba215e3946606b4503ccd9c5549bc31
|
MD5 (xpaint-2.5.7.tar.gz) = 878f6773a46ad2354772b17b1a9f3963
|
||||||
RMD160 (xpaint-2.5.5.tar.gz) = 6de4701046b8ca2c14af5b2495c2e0e0e1c6f4c5
|
RMD160 (xpaint-2.5.7.tar.gz) = 76dc9149d904398553e100f101ecaddbda80c397
|
||||||
SHA1 (xpaint-2.5.5.tar.gz) = d4825a7f881f2977d41a78d44111a9dfec13d2cc
|
SHA1 (xpaint-2.5.7.tar.gz) = 218efafe5b494f309fc427355c5da12d82703998
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
--- readRC.c.orig Tue Jun 25 04:50:39 1996
|
--- readRC.c.orig Tue Jun 25 05:50:39 1996
|
||||||
+++ readRC.c Fri Oct 29 18:08:12 1999
|
+++ readRC.c Tue May 30 06:09:51 2000
|
||||||
@@ -30,12 +30,6 @@
|
@@ -30,12 +30,6 @@
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
@ -13,7 +13,7 @@
|
|||||||
#define RC_FILENAME ".XPaintrc"
|
#define RC_FILENAME ".XPaintrc"
|
||||||
|
|
||||||
static String defaultRC[] =
|
static String defaultRC[] =
|
||||||
@@ -66,17 +60,19 @@
|
@@ -66,17 +60,18 @@ openTemp(char **np)
|
||||||
{
|
{
|
||||||
char *n;
|
char *n;
|
||||||
char xx[256];
|
char xx[256];
|
||||||
@ -22,9 +22,10 @@
|
|||||||
if ((n = getenv("TMPDIR")) == NULL)
|
if ((n = getenv("TMPDIR")) == NULL)
|
||||||
n = "/tmp";
|
n = "/tmp";
|
||||||
|
|
||||||
strcpy(xx, n);
|
- strcpy(xx, n);
|
||||||
strcat(xx, "/XPaintXXXXXXX");
|
- strcat(xx, "/XPaintXXXXXXX");
|
||||||
- n = mktemp(xx);
|
- n = mktemp(xx);
|
||||||
|
+ snprintf(xx, 256, "%s/%s", n, "/XPaintXXXXXXX");
|
||||||
+ fd = mkstemp(xx);
|
+ fd = mkstemp(xx);
|
||||||
+ n = xx;
|
+ n = xx;
|
||||||
tempName[++tempIndex] = XtNewString(n);
|
tempName[++tempIndex] = XtNewString(n);
|
||||||
|
Loading…
Reference in New Issue
Block a user