diff --git a/audio/din/Makefile b/audio/din/Makefile index 66196a2a7cb6..377873654623 100644 --- a/audio/din/Makefile +++ b/audio/din/Makefile @@ -1,38 +1,37 @@ PORTNAME= din -PORTVERSION= 51.1 -PORTREVISION= 1 +PORTVERSION= 51.1.1 CATEGORIES= audio MASTER_SITES= https://archive.org/download/dinisnoise_source_code/ MAINTAINER= fox@FreeBSD.org COMMENT= Open source, cross-platform sound synthesizer LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libasound.so:audio/alsa-lib \ libboost_system.so:devel/boost-libs \ libjack.so:audio/jack USES= autoreconf gl gnome sdl tcl:86+ xorg USE_GL= gl USE_SDL= sdl GNU_CONFIGURE= yes INSTALLS_ICONS= yes OPTIONS_SINGLE= BACKEND OPTIONS_SINGLE_BACKEND= ALSA JACK OPTIONS_DEFAULT= JACK JACK_DESC= Uses JACK sound server ALSA_DESC= Uses ALSA sound server ALSA_CXXFLAGS+= -D__LINUX_ALSA__ JACK_CXXFLAGS+= -D__UNIX_JACK__ CXXFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/tcl${TCL_VER} LIBS+= -L${LOCALBASE}/lib -ltcl${TCL_SHLIB_VER} -lthr -ljack .include diff --git a/audio/din/distinfo b/audio/din/distinfo index 8c55751959fc..c15169483ffa 100644 --- a/audio/din/distinfo +++ b/audio/din/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1626222892 -SHA256 (din-51.1.tar.gz) = 4cdeebba091a8ed298840ccdecf204089d8481c5599bbd8bd526f3466a728e7c -SIZE (din-51.1.tar.gz) = 3700748 +TIMESTAMP = 1629545974 +SHA256 (din-51.1.1.tar.gz) = f679ead486e2a55ffef0acfd00e35d47642309acd1fd1400f64ae3c2c1d5b6e9 +SIZE (din-51.1.1.tar.gz) = 3700797 diff --git a/audio/din/files/patch-src_ball.cc b/audio/din/files/patch-src_ball.cc deleted file mode 100644 index c786baad8a95..000000000000 --- a/audio/din/files/patch-src_ball.cc +++ /dev/null @@ -1,13 +0,0 @@ -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; - diff --git a/audio/din/files/patch-src_modulator.h b/audio/din/files/patch-src_modulator.h deleted file mode 100644 index 3f582d51c6cc..000000000000 --- a/audio/din/files/patch-src_modulator.h +++ /dev/null @@ -1,13 +0,0 @@ -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; - } - diff --git a/audio/din/files/patch-src_mondrian.cc b/audio/din/files/patch-src_mondrian.cc deleted file mode 100644 index 18620eac5a2f..000000000000 --- a/audio/din/files/patch-src_mondrian.cc +++ /dev/null @@ -1,13 +0,0 @@ -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 INTERVALS; - extern oscilloscope scope;