summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/hydrogen/files/hydrogen-0.9.5-gcc6.patch')
-rw-r--r--media-sound/hydrogen/files/hydrogen-0.9.5-gcc6.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/media-sound/hydrogen/files/hydrogen-0.9.5-gcc6.patch b/media-sound/hydrogen/files/hydrogen-0.9.5-gcc6.patch
new file mode 100644
index 000000000000..586e82af22a1
--- /dev/null
+++ b/media-sound/hydrogen/files/hydrogen-0.9.5-gcc6.patch
@@ -0,0 +1,12 @@
+diff -ruN hydrogen-0.9.5.orig/libs/hydrogen/src/local_file_mgr.cpp hydrogen-0.9.5/libs/hydrogen/src/local_file_mgr.cpp
+--- hydrogen-0.9.5.orig/libs/hydrogen/src/local_file_mgr.cpp 2011-01-29 00:33:23.000000000 +0100
++++ hydrogen-0.9.5/libs/hydrogen/src/local_file_mgr.cpp 2017-09-26 20:07:31.128723252 +0200
+@@ -980,7 +980,7 @@
+
+ std::string playlistInfoFile = patternname;
+ std::ifstream verify( playlistInfoFile.c_str() , std::ios::in | std::ios::binary );
+- if ( verify == NULL ) {
++ if ( !verify ) {
+ //ERRORLOG( "Load Playlist: Data file " + playlistInfoFile + " not found." );
+ return NULL;
+ }