diff options
Diffstat (limited to 'freebsd/dependencies/arts')
-rw-r--r-- | freebsd/dependencies/arts/Makefile | 2 | ||||
-rw-r--r-- | freebsd/dependencies/arts/distinfo | 6 | ||||
-rw-r--r-- | freebsd/dependencies/arts/files/patch-bp000-fix-ftbfs-on-c++11.diff | 52 |
3 files changed, 56 insertions, 4 deletions
diff --git a/freebsd/dependencies/arts/Makefile b/freebsd/dependencies/arts/Makefile index 9e634cb2b..7fd31df17 100644 --- a/freebsd/dependencies/arts/Makefile +++ b/freebsd/dependencies/arts/Makefile @@ -7,7 +7,7 @@ PORTNAME= arts-trinity COMMENT= aRts (analog realtime synthesizer) - the TDE sound system -TDE_PREVERSION= ~pre9+8999284f +TDE_PREVERSION= MASTER_SITE_SUBDIR= a/${PORTNAME} PORTREVISION= 0 CATEGORIES= audio diff --git a/freebsd/dependencies/arts/distinfo b/freebsd/dependencies/arts/distinfo index 291705b98..7c3b50e4e 100644 --- a/freebsd/dependencies/arts/distinfo +++ b/freebsd/dependencies/arts/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1527511629 -SHA256 (TDE/dependencies/arts-trinity_14.0.5~pre9.orig.tar.xz) = 25dfcaa6dcebeeaed32d89d3351f797d212fceaaf47893a7a635ba7353e5e01f -SIZE (TDE/dependencies/arts-trinity_14.0.5~pre9.orig.tar.xz) = 674020 +TIMESTAMP = 1532796393 +SHA256 (TDE/dependencies/arts-trinity_14.0.5.orig.tar.xz) = 8dcf7755b189ddd3b32928e8fb200c08aadafd76e3940201da300b8d9424a875 +SIZE (TDE/dependencies/arts-trinity_14.0.5.orig.tar.xz) = 673208 diff --git a/freebsd/dependencies/arts/files/patch-bp000-fix-ftbfs-on-c++11.diff b/freebsd/dependencies/arts/files/patch-bp000-fix-ftbfs-on-c++11.diff new file mode 100644 index 000000000..ff4c818b7 --- /dev/null +++ b/freebsd/dependencies/arts/files/patch-bp000-fix-ftbfs-on-c++11.diff @@ -0,0 +1,52 @@ +diff --git a/mcop/tcpserver.cc b/mcop/tcpserver.cc +index 5ce3532..c2cffee 100644 +--- a/mcop/tcpserver.cc ++++ b/mcop/tcpserver.cc +@@ -121,7 +121,7 @@ bool TCPServer::initSocket() + socket_addr.sin_family = AF_INET; + socket_addr.sin_port = htons( TCPServerPort ); // 0 = choose port freely + socket_addr.sin_addr.s_addr = htonl( inet_addr("0.0.0.0") ); +- if ( bind( theSocket, (struct sockaddr *) &socket_addr, ++ if ( ::bind( theSocket, (struct sockaddr *) &socket_addr, + sizeof(struct sockaddr_in) ) < 0 ) + { + arts_warning("MCOP TCPServer: can't bind to port/address"); +diff --git a/mcop/unixserver.cc b/mcop/unixserver.cc +index acb3496..d70fe8e 100644 +--- a/mcop/unixserver.cc ++++ b/mcop/unixserver.cc +@@ -98,7 +98,7 @@ bool UnixServer::initSocket(const string& serverID) + + xserverpath = socket_addr.sun_path; + +- if ( bind( theSocket, (struct sockaddr *) &socket_addr, ++ if ( ::bind( theSocket, (struct sockaddr *) &socket_addr, + sizeof(struct sockaddr_un) ) < 0 ) + { + arts_warning("MCOP UnixServer: can't bind to file \"%s\"", +diff --git a/soundserver/gslplayobject_impl.cc b/soundserver/gslplayobject_impl.cc +index 217fe80..aafb41c 100644 +--- a/soundserver/gslplayobject_impl.cc ++++ b/soundserver/gslplayobject_impl.cc +@@ -134,7 +134,7 @@ public: + */ + std::string description() + { +- return "no description available (see "__FILE__")"; ++ return "no description available (see " __FILE__ ")"; + } + + poTime currentTime() +diff --git a/soundserver/wavplayobject_impl.cc b/soundserver/wavplayobject_impl.cc +index 6109f7c..8f5f2f1 100644 +--- a/soundserver/wavplayobject_impl.cc ++++ b/soundserver/wavplayobject_impl.cc +@@ -74,7 +74,7 @@ public: + * KMedia2 interface + */ + string description() { +- return "no description (see "__FILE__")"; ++ return "no description (see " __FILE__ ")"; + } + + poTime currentTime() { |