ports/audio/mythplugin-mythmusic/files/patch-mythmusic_mythmusic_cdrip.cpp
Jason E. Hale db032688df Update multimedia/mythtv and related ports to 29.1 [1]
Convert multimedia/mythtv-frontend to a slave port of multimedia/mythtv
which should make future updates much easier.

Upstream security patches have been added to address known
vulnerabilities in the bundled ffmpeg 3.2.

PR:		225652 (initial patches to update to 29.0) [1]
Submitted by:	<lucylangthorne55@gmail.com> [1]
Differential Revision:	https://reviews.freebsd.org/D14563
2018-03-25 17:09:05 +00:00

25 lines
672 B
C++

libcdio-paranoia header location changed after moving to separate project circa 2012
Fix warning: logical not is only applied to the left hand side of comparison
--- mythmusic/mythmusic/cdrip.cpp.orig 2018-02-01 11:15:37 UTC
+++ mythmusic/mythmusic/cdrip.cpp
@@ -8,8 +8,8 @@
#include "config.h"
#ifdef HAVE_CDIO
-# include <cdio/cdda.h>
-# include <cdio/paranoia.h>
+# include <cdio/paranoia/cdda.h>
+# include <cdio/paranoia/paranoia.h>
#endif //def HAVE_CDIO
// C++ includes
@@ -219,7 +219,7 @@ void CDRipperThread::run(void)
{
RunProlog();
- if (!m_tracks->size() > 0)
+ if (!(m_tracks->size() > 0))
{
RunEpilog();
return;