diff options
author | joerg <joerg> | 2016-12-23 22:30:50 +0000 |
---|---|---|
committer | joerg <joerg> | 2016-12-23 22:30:50 +0000 |
commit | 2a3b594c87ffe582794bcd951e0c09133617826b (patch) | |
tree | 2eab9e055004d83146c1573e84b64d5d994ee4c2 /www | |
parent | 1f974ef9ba90627ebda109e436d0f877b957880d (diff) | |
download | pkgsrc-2a3b594c87ffe582794bcd951e0c09133617826b.tar.gz |
Fix error check for fopen. Bump revision.
Diffstat (limited to 'www')
-rw-r--r-- | www/squidview/Makefile | 4 | ||||
-rw-r--r-- | www/squidview/distinfo | 3 | ||||
-rw-r--r-- | www/squidview/patches/patch-squidview.cpp | 15 |
3 files changed, 19 insertions, 3 deletions
diff --git a/www/squidview/Makefile b/www/squidview/Makefile index d7cb83642b8..733b90d8955 100644 --- a/www/squidview/Makefile +++ b/www/squidview/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.4 2015/08/18 07:31:20 wiz Exp $ +# $NetBSD: Makefile,v 1.5 2016/12/23 22:30:50 joerg Exp $ DISTNAME= squidview-0.80 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= www MASTER_SITES= http://www.rillion.net/squidview/ diff --git a/www/squidview/distinfo b/www/squidview/distinfo index 4b180c1a29a..fabefdef7c8 100644 --- a/www/squidview/distinfo +++ b/www/squidview/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.2 2015/11/04 02:47:39 agc Exp $ +$NetBSD: distinfo,v 1.3 2016/12/23 22:30:50 joerg Exp $ SHA1 (squidview-0.80.tar.gz) = a87c83d9e7ddd13f733330ca59d892099b8c963c RMD160 (squidview-0.80.tar.gz) = 296a3c411d5dea4ae78c75d07ec5b32bdf96f87a SHA512 (squidview-0.80.tar.gz) = 4a9bb0f296222ef5c8c127d4e0697ff050a2adcf8b28771379da32af816a2d43edbbd3f02920dc2c54735e7a22f50e6b9040067e2b77136506f472cfedff8894 Size (squidview-0.80.tar.gz) = 122502 bytes SHA1 (patch-squidview.1) = 9065a6a295d25bd1e76c548e2e92223131602065 +SHA1 (patch-squidview.cpp) = db7b7f4cdce0801a0f36fa644e9787eaa8f56f03 diff --git a/www/squidview/patches/patch-squidview.cpp b/www/squidview/patches/patch-squidview.cpp new file mode 100644 index 00000000000..3ef0cb1620b --- /dev/null +++ b/www/squidview/patches/patch-squidview.cpp @@ -0,0 +1,15 @@ +$NetBSD: patch-squidview.cpp,v 1.1 2016/12/23 22:30:50 joerg Exp $ + +fopen returns NULL on error. + +--- squidview.cpp.orig 2016-12-23 00:11:45.178070224 +0000 ++++ squidview.cpp +@@ -1002,7 +1002,7 @@ int SaveWords() + FILE* fOutput; + + fOutput = fopen (sWordFile.c_str(), "w"); +- if (fOutput <= 0) ++ if (fOutput == 0) + return 0; + + iIndex = 0; |