pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc/starplot



Module Name:    pkgsrc
Committed By:   tnn
Date:           Mon Apr 25 14:40:13 UTC 2022

Modified Files:
        pkgsrc/misc/starplot: distinfo
Added Files:
        pkgsrc/misc/starplot/patches: patch-src_gui_starplot.cc

Log Message:
starplot: avoid ambiguous math functions


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/misc/starplot/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/starplot/patches/patch-src_gui_starplot.cc

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

Modified files:

Index: pkgsrc/misc/starplot/distinfo
diff -u pkgsrc/misc/starplot/distinfo:1.4 pkgsrc/misc/starplot/distinfo:1.5
--- pkgsrc/misc/starplot/distinfo:1.4   Tue Oct 26 10:59:33 2021
+++ pkgsrc/misc/starplot/distinfo       Mon Apr 25 14:40:13 2022
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 10:59:33 nia Exp $
+$NetBSD: distinfo,v 1.5 2022/04/25 14:40:13 tnn Exp $
 
 BLAKE2s (starplot-0.95.5.tar.gz) = 3acc5714e0e2c6228eecf38d7ee43f40c82a83834502543def18106439623230
 SHA512 (starplot-0.95.5.tar.gz) = cfc451b9ec8593054b76ef29170408b486e932ef467f3c2f847b40275c8a52e539142d09c76f0057c01ef87bf0628102f99151827030995a5f8bcb9541f24a11
 Size (starplot-0.95.5.tar.gz) = 892878 bytes
+SHA1 (patch-src_gui_starplot.cc) = c7401154a638563548ff334954a9478f33b80e58

Added files:

Index: pkgsrc/misc/starplot/patches/patch-src_gui_starplot.cc
diff -u /dev/null pkgsrc/misc/starplot/patches/patch-src_gui_starplot.cc:1.1
--- /dev/null   Mon Apr 25 14:40:13 2022
+++ pkgsrc/misc/starplot/patches/patch-src_gui_starplot.cc      Mon Apr 25 14:40:13 2022
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_gui_starplot.cc,v 1.1 2022/04/25 14:40:13 tnn Exp $
+
+avoid ambiguous math functions
+
+--- src/gui/starplot.cc.orig   2008-04-10 19:18:48.000000000 +0000
++++ src/gui/starplot.cc
+@@ -28,6 +28,8 @@
+ #include "starplot.h"
+ #include "starplot.xpm"
+ 
++using std::pow;
++
+ #define FLIP(boolean) ((boolean) = !(boolean))
+ 
+ // initialize globals



Home | Main Index | Thread Index | Old Index