Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
audio/din: Update distinfo due to upstream change.
- Also include the patches to fix the build.
- Loading branch information
1 parent
db140f4
commit 910486d
Showing
4 changed files
with
42 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TIMESTAMP = 1626083256 | ||
SHA256 (din-51.1.tar.gz) = 783484ef6e13f1e8da7239d02c2c1f13b0c3c6917dbd200441fb227aa6e3a7e8 | ||
SIZE (din-51.1.tar.gz) = 3700738 | ||
TIMESTAMP = 1626222892 | ||
SHA256 (din-51.1.tar.gz) = 4cdeebba091a8ed298840ccdecf204089d8481c5599bbd8bd526f3466a728e7c | ||
SIZE (din-51.1.tar.gz) = 3700748 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Fixes the redeclaration error. float vs const float. | ||
|
||
--- src/ball.cc.orig 2021-07-12 10:55:38 UTC | ||
+++ src/ball.cc | ||
@@ -14,7 +14,7 @@ | ||
using namespace std; | ||
|
||
extern mondrian mondrian0; | ||
-extern float PI_BY_180; | ||
+extern const float PI_BY_180; | ||
extern float TWO_PI; | ||
extern int TRAILSIZE; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Fixes the redeclaration error. float vs const float. | ||
|
||
--- src/modulator.h.orig 2021-07-12 11:03:15 UTC | ||
+++ src/modulator.h | ||
@@ -70,7 +70,7 @@ struct autorotator { | ||
inline void setdeg (float d) { | ||
deg = d; | ||
if (deg < 0.0f) deg = 0.0f; | ||
- extern float PI_BY_180; | ||
+ extern const float PI_BY_180; | ||
angle.persec = deg * PI_BY_180; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Fixes the redeclaration error. float vs const float. | ||
|
||
--- src/mondrian.cc.orig 2021-07-12 13:10:37 UTC | ||
+++ src/mondrian.cc | ||
@@ -42,7 +42,7 @@ extern gotog _gotomax; | ||
extern int quit; | ||
extern beat2value octave_shift; | ||
extern float GOLDEN_RATIO; | ||
-extern float PI_BY_180; | ||
+extern const float PI_BY_180; | ||
extern int IPS; | ||
extern std::map <string, float> INTERVALS; | ||
extern oscilloscope scope; |