pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/audio/libvisual-plugins
Module Name: pkgsrc
Committed By: joerg
Date: Tue May 26 11:25:02 UTC 2020
Modified Files:
pkgsrc/audio/libvisual-plugins: distinfo
Added Files:
pkgsrc/audio/libvisual-plugins/patches:
patch-plugins_actor_G-Force_GForceCommon_G-Force.cpp
patch-plugins_actor_G-Force_GForceCommon_WaveShape.cpp
Log Message:
Disambiguate pow.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/audio/libvisual-plugins/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/audio/libvisual-plugins/patches/patch-plugins_actor_G-Force_GForceCommon_G-Force.cpp \
pkgsrc/audio/libvisual-plugins/patches/patch-plugins_actor_G-Force_GForceCommon_WaveShape.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/audio/libvisual-plugins/distinfo
diff -u pkgsrc/audio/libvisual-plugins/distinfo:1.12 pkgsrc/audio/libvisual-plugins/distinfo:1.13
--- pkgsrc/audio/libvisual-plugins/distinfo:1.12 Tue Nov 3 01:12:39 2015
+++ pkgsrc/audio/libvisual-plugins/distinfo Tue May 26 11:25:02 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2015/11/03 01:12:39 agc Exp $
+$NetBSD: distinfo,v 1.13 2020/05/26 11:25:02 joerg Exp $
SHA1 (libvisual-plugins-0.4.0.tar.gz) = 20490573c282d900ec0bd05133cb3707640254f5
RMD160 (libvisual-plugins-0.4.0.tar.gz) = f7a82f4a9e4dec3e877833612ece570ffbf2404d
@@ -12,5 +12,7 @@ SHA1 (patch-ae) = ce54b7682f0d7a184a1539
SHA1 (patch-af) = 35e2b6517a7c7bd5605fd6593a113f184d8dc1b3
SHA1 (patch-plugins_actor_G-Force_Common_GeneralTools_UtilStr.cpp) = 6dfb4d2d8ba5ed6be37523b66515df630bfba604
SHA1 (patch-plugins_actor_G-Force_Common_UI_LineXX.cpp) = f0e527dd7bc2918fbab00846cbf3c7c882ba82eb
+SHA1 (patch-plugins_actor_G-Force_GForceCommon_G-Force.cpp) = 3db98e9132c816383060b526c87f57f3caa00b1b
+SHA1 (patch-plugins_actor_G-Force_GForceCommon_WaveShape.cpp) = 84d1ed2e062f136aef268ed9445aabdc2a42080c
SHA1 (patch-plugins_actor_corona_corona.cpp) = 89292f12be75a59a62f7a52c660a1146fda8f1e5
SHA1 (patch-plugins_morph_flash_morph__flash_c) = 94d696aa43213fa43fb98a563cdc040d5fe9a92c
Added files:
Index: pkgsrc/audio/libvisual-plugins/patches/patch-plugins_actor_G-Force_GForceCommon_G-Force.cpp
diff -u /dev/null pkgsrc/audio/libvisual-plugins/patches/patch-plugins_actor_G-Force_GForceCommon_G-Force.cpp:1.1
--- /dev/null Tue May 26 11:25:02 2020
+++ pkgsrc/audio/libvisual-plugins/patches/patch-plugins_actor_G-Force_GForceCommon_G-Force.cpp Tue May 26 11:25:02 2020
@@ -0,0 +1,22 @@
+$NetBSD: patch-plugins_actor_G-Force_GForceCommon_G-Force.cpp,v 1.1 2020/05/26 11:25:02 joerg Exp $
+
+--- plugins/actor/G-Force/GForceCommon/G-Force.cpp.orig 2020-05-26 00:17:08.719115589 +0000
++++ plugins/actor/G-Force/GForceCommon/G-Force.cpp
+@@ -624,7 +624,7 @@ void GForce::ManageColorChanges() {
+ // If in a ColorMap transition/morph then we must set mColorTrans, for it's linked into mGF_Palette
+ if ( mColorTransTime > 0 ) {
+ float t = (float) ( mColorTransEnd - mT_MS ) / ( (float) mColorTransTime );
+- mColorTrans = pow( t, TRANSITION_ALPHA );
++ mColorTrans = pow( t, float(TRANSITION_ALPHA) );
+ }
+
+ // Evaluate the palette at this time
+@@ -983,7 +983,7 @@ void GForce::RecordSample( long inCurTim
+ // Is the text is about to expire? if not, continue drawing.
+ if ( t <= 1 ) {
+
+- intensity = 255.5 * pow( t, 1.5 );
++ intensity = 255.5 * pow( t, 1.5f );
+ mCurPort -> SetTextColor( mPalette[ intensity ] );
+ mCurPort -> SetTrackTextFont();
+ mCurPort -> DrawText( mTrackTextPos.h, mTrackTextPos.v, mTrackText ); }
Index: pkgsrc/audio/libvisual-plugins/patches/patch-plugins_actor_G-Force_GForceCommon_WaveShape.cpp
diff -u /dev/null pkgsrc/audio/libvisual-plugins/patches/patch-plugins_actor_G-Force_GForceCommon_WaveShape.cpp:1.1
--- /dev/null Tue May 26 11:25:02 2020
+++ pkgsrc/audio/libvisual-plugins/patches/patch-plugins_actor_G-Force_GForceCommon_WaveShape.cpp Tue May 26 11:25:02 2020
@@ -0,0 +1,22 @@
+$NetBSD: patch-plugins_actor_G-Force_GForceCommon_WaveShape.cpp,v 1.1 2020/05/26 11:25:02 joerg Exp $
+
+--- plugins/actor/G-Force/GForceCommon/WaveShape.cpp.orig 2020-05-26 00:18:26.285232815 +0000
++++ plugins/actor/G-Force/GForceCommon/WaveShape.cpp
+@@ -202,7 +202,7 @@ void WaveShape::Draw( long inNumSteps, P
+ else {
+ w2Waves = inWave2 -> mNumWaves;
+ dialate = inMorphPct;
+- mShapeTrans = pow( dialate, SHAPE_MORPH_ALPHA );
++ mShapeTrans = pow( dialate, float(SHAPE_MORPH_ALPHA) );
+ SetupFrame( inWave2, mShapeTrans );
+
+ if ( mNumWaves > w2Waves ) {
+@@ -212,7 +212,7 @@ void WaveShape::Draw( long inNumSteps, P
+ maxWaves = w2Waves;
+
+ // Set the wave scale factor to the wave leaving/arriving
+- dialate = 20.0 * pow( dialate, 4.0 ) + 1.0;
++ dialate = 20.0 * pow( dialate, 4.0f ) + 1.0;
+
+ // Calc the x and y scale factors for wave 2
+ xscaleW2 = xoff;
Home |
Main Index |
Thread Index |
Old Index