pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/squidview



Module Name:    pkgsrc
Committed By:   joerg
Date:           Fri Dec 23 22:30:50 UTC 2016

Modified Files:
        pkgsrc/www/squidview: Makefile distinfo
Added Files:
        pkgsrc/www/squidview/patches: patch-squidview.cpp

Log Message:
Fix error check for fopen. Bump revision.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/squidview/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/squidview/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/www/squidview/patches/patch-squidview.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/squidview/Makefile
diff -u pkgsrc/www/squidview/Makefile:1.4 pkgsrc/www/squidview/Makefile:1.5
--- pkgsrc/www/squidview/Makefile:1.4   Tue Aug 18 07:31:20 2015
+++ pkgsrc/www/squidview/Makefile       Fri Dec 23 22:30:50 2016
@@ -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/
 

Index: pkgsrc/www/squidview/distinfo
diff -u pkgsrc/www/squidview/distinfo:1.2 pkgsrc/www/squidview/distinfo:1.3
--- pkgsrc/www/squidview/distinfo:1.2   Wed Nov  4 02:47:39 2015
+++ pkgsrc/www/squidview/distinfo       Fri Dec 23 22:30:50 2016
@@ -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

Added files:

Index: pkgsrc/www/squidview/patches/patch-squidview.cpp
diff -u /dev/null pkgsrc/www/squidview/patches/patch-squidview.cpp:1.1
--- /dev/null   Fri Dec 23 22:30:50 2016
+++ pkgsrc/www/squidview/patches/patch-squidview.cpp    Fri Dec 23 22:30:50 2016
@@ -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;



Home | Main Index | Thread Index | Old Index