pkgsrc-Changes archive

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

CVS commit: pkgsrc/geography/opencpn-plugin-statusbar



Module Name:    pkgsrc
Committed By:   bouyer
Date:           Sun Apr 15 10:00:57 UTC 2018

Modified Files:
        pkgsrc/geography/opencpn-plugin-statusbar: Makefile distinfo
Added Files:
        pkgsrc/geography/opencpn-plugin-statusbar/patches:
            patch-src_statusbar_pi.cpp

Log Message:
Fix memory leak; bump PKGREVISION


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/geography/opencpn-plugin-statusbar/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/geography/opencpn-plugin-statusbar/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/geography/opencpn-plugin-statusbar/patches/patch-src_statusbar_pi.cpp

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

Modified files:

Index: pkgsrc/geography/opencpn-plugin-statusbar/Makefile
diff -u pkgsrc/geography/opencpn-plugin-statusbar/Makefile:1.4 pkgsrc/geography/opencpn-plugin-statusbar/Makefile:1.5
--- pkgsrc/geography/opencpn-plugin-statusbar/Makefile:1.4      Mon Apr  9 11:04:36 2018
+++ pkgsrc/geography/opencpn-plugin-statusbar/Makefile  Sun Apr 15 10:00:56 2018
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2018/04/09 11:04:36 bouyer Exp $
+# $NetBSD: Makefile,v 1.5 2018/04/15 10:00:56 bouyer Exp $
 #
 
 VERSION=       20180405
+PKGREVISION=   1
 DISTNAME=      statusbar_pi-${VERSION}
 PKGNAME=       opencpn-plugin-statusbar-${VERSION}
 CATEGORIES=    geography

Index: pkgsrc/geography/opencpn-plugin-statusbar/distinfo
diff -u pkgsrc/geography/opencpn-plugin-statusbar/distinfo:1.3 pkgsrc/geography/opencpn-plugin-statusbar/distinfo:1.4
--- pkgsrc/geography/opencpn-plugin-statusbar/distinfo:1.3      Thu Apr  5 16:10:04 2018
+++ pkgsrc/geography/opencpn-plugin-statusbar/distinfo  Sun Apr 15 10:00:56 2018
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.3 2018/04/05 16:10:04 bouyer Exp $
+$NetBSD: distinfo,v 1.4 2018/04/15 10:00:56 bouyer Exp $
 
 SHA1 (statusbar_pi-20180405-024822eb32a61f4ef4e52d4cb15bd1f4b86b2763.tar.gz) = 52191419c7957657c464866446f1c37b0edc0710
 RMD160 (statusbar_pi-20180405-024822eb32a61f4ef4e52d4cb15bd1f4b86b2763.tar.gz) = 19fe39ab310f453f5804bd9e5f976a9de5254ca0
 SHA512 (statusbar_pi-20180405-024822eb32a61f4ef4e52d4cb15bd1f4b86b2763.tar.gz) = 
f8dff4363982a93e56dcd70add80eaefda0d7f7ca806fdb021e73144896ddbcdbe5354d83a0c0f18517821c698ef7214de36ea2cfc99c97a397edc08640c63b0
 Size (statusbar_pi-20180405-024822eb32a61f4ef4e52d4cb15bd1f4b86b2763.tar.gz) = 218490 bytes
 SHA1 (patch-cmake_PluginConfigure.cmake) = 5b51256240f1355ebd746ea0a4c0492a2ac935e6
+SHA1 (patch-src_statusbar_pi.cpp) = a3f3904e212b1a79f964b61d9f457d11ac624b78

Added files:

Index: pkgsrc/geography/opencpn-plugin-statusbar/patches/patch-src_statusbar_pi.cpp
diff -u /dev/null pkgsrc/geography/opencpn-plugin-statusbar/patches/patch-src_statusbar_pi.cpp:1.1
--- /dev/null   Sun Apr 15 10:00:57 2018
+++ pkgsrc/geography/opencpn-plugin-statusbar/patches/patch-src_statusbar_pi.cpp        Sun Apr 15 10:00:57 2018
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_statusbar_pi.cpp,v 1.1 2018/04/15 10:00:57 bouyer Exp $
+Fix memory leak
+
+--- src/statusbar_pi.cpp.orig  2018-04-14 18:19:56.820903950 +0200
++++ src/statusbar_pi.cpp       2018-04-14 18:27:10.083280415 +0200
+@@ -424,6 +424,7 @@
+         if(pgc) {
+             pgc->SetBrush(wxColour(color.Red(), color.Green(), color.Blue(), alpha));
+             pgc->DrawRectangle(px, py, width, height);
++          delete pgc;
+         }
+ #else
+         dc.SetTextBackground(color);



Home | Main Index | Thread Index | Old Index