summaryrefslogtreecommitdiff
path: root/sysutils/xfe
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2013-11-02 18:27:39 +0000
committerdholland <dholland@pkgsrc.org>2013-11-02 18:27:39 +0000
commitdc7afbb0466a631245804805196cd54cfef75f49 (patch)
tree35d8f450c37e78c3e83e45210aa97cf8c8854450 /sysutils/xfe
parenta7910c2c29c12523d15a992392d1b044e75db790 (diff)
downloadpkgsrc-dc7afbb0466a631245804805196cd54cfef75f49.tar.gz
PR 48357 Germain Le Chapelain: don't crash if opendir fails.
PKGREVISION -> 13
Diffstat (limited to 'sysutils/xfe')
-rw-r--r--sysutils/xfe/Makefile4
-rw-r--r--sysutils/xfe/distinfo3
-rw-r--r--sysutils/xfe/patches/patch-src_File.cc16
3 files changed, 20 insertions, 3 deletions
diff --git a/sysutils/xfe/Makefile b/sysutils/xfe/Makefile
index b89a4c18425..a52a045afde 100644
--- a/sysutils/xfe/Makefile
+++ b/sysutils/xfe/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.45 2013/06/06 12:55:06 wiz Exp $
+# $NetBSD: Makefile,v 1.46 2013/11/02 18:27:39 dholland Exp $
DISTNAME= xfe-1.04
-PKGREVISION= 12
+PKGREVISION= 13
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xfe/}
diff --git a/sysutils/xfe/distinfo b/sysutils/xfe/distinfo
index 5abcb949dc1..ff02e8459d2 100644
--- a/sysutils/xfe/distinfo
+++ b/sysutils/xfe/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.10 2007/09/12 20:44:20 xtraeme Exp $
+$NetBSD: distinfo,v 1.11 2013/11/02 18:27:39 dholland Exp $
SHA1 (xfe-1.04.tar.gz) = 0a81c0a98312f48ba7c1fd208edf53516e743511
RMD160 (xfe-1.04.tar.gz) = beb1226548152406ac5b7031597590926886ef4c
Size (xfe-1.04.tar.gz) = 1663117 bytes
SHA1 (patch-ac) = 001140df584ef01d52e0737a57e0babbc574a0b4
+SHA1 (patch-src_File.cc) = 449360d6f6868aa53a210a56d4e0d7688611d367
diff --git a/sysutils/xfe/patches/patch-src_File.cc b/sysutils/xfe/patches/patch-src_File.cc
new file mode 100644
index 00000000000..07525c1a872
--- /dev/null
+++ b/sysutils/xfe/patches/patch-src_File.cc
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_File.cc,v 1.1 2013/11/02 18:27:39 dholland Exp $
+
+Don't call closedir() on NULL. From PR 48357.
+
+--- src/File.cc~ 2007-09-03 12:12:21.000000000 +0000
++++ src/File.cc
+@@ -490,8 +490,8 @@ FXint isEmptyDir(const FXString director
+ ret=1;
+ else
+ ret=0;
++ closedir(dir);
+ }
+- closedir(dir);
+ return ret;
+ }
+