diff options
author | marino <marino@FreeBSD.org> | 2016-12-18 09:23:59 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2016-12-18 09:23:59 +0800 |
commit | 86c011885df3a0832167e85a5657ca5b7967ee4d (patch) | |
tree | 855c77cdf348e542f69577a207f0728558e6c80b | |
parent | 350f7c4bc9862a0672c70715348224387c1e0c77 (diff) | |
download | freebsd-ports-gnome-86c011885df3a0832167e85a5657ca5b7967ee4d.tar.gz freebsd-ports-gnome-86c011885df3a0832167e85a5657ca5b7967ee4d.tar.zst freebsd-ports-gnome-86c011885df3a0832167e85a5657ca5b7967ee4d.zip |
audio/gnomoradio: Fix build using GCC (from dports)
-rw-r--r-- | audio/gnomoradio/files/patch-roboradio_audio_ogg.cc | 10 | ||||
-rw-r--r-- | audio/gnomoradio/files/patch-roboradio_state.cc | 10 |
2 files changed, 19 insertions, 1 deletions
diff --git a/audio/gnomoradio/files/patch-roboradio_audio_ogg.cc b/audio/gnomoradio/files/patch-roboradio_audio_ogg.cc index 8e3de78994ed..e580d765ee89 100644 --- a/audio/gnomoradio/files/patch-roboradio_audio_ogg.cc +++ b/audio/gnomoradio/files/patch-roboradio_audio_ogg.cc @@ -1,6 +1,14 @@ --- roboradio/audio/ogg.cc.orig 2004-11-06 21:55:32 UTC +++ roboradio/audio/ogg.cc -@@ -193,6 +193,7 @@ void Roboradio::Audio::Ogg::thread_funct +@@ -25,6 +25,7 @@ + + #include <string> + #include <algorithm> ++#include <cstring> + + #include <iostream> + +@@ -193,6 +194,7 @@ void Roboradio::Audio::Ogg::thread_funct int device_id = ao_default_driver_id(); ao_sample_format output_fmt; diff --git a/audio/gnomoradio/files/patch-roboradio_state.cc b/audio/gnomoradio/files/patch-roboradio_state.cc new file mode 100644 index 000000000000..b4507a60e1dd --- /dev/null +++ b/audio/gnomoradio/files/patch-roboradio_state.cc @@ -0,0 +1,10 @@ +--- roboradio/state.cc.orig 2004-10-24 00:24:34 UTC ++++ roboradio/state.cc +@@ -28,6 +28,7 @@ + #include <sys/stat.h> + #include <dirent.h> + #include <iostream> ++#include <cstring> + + #include <map> + #include <set> |