ports/multimedia/umplayer/files/patch-src_umplayer.cpp
Wen Heping 388237cb87 UMPlayer is the multimedia player that fills all your needs. With dozens
of advanced features and built-in codecs it can handle any media format,
and can play Audio CDs, DVDs, (S)VCDs, TV / Radio cards, YouTube" and
SHOUTcast" streams and even incomplete or damaged media files.

WWW: http://www.umplayer.com/

PR:		ports/157551
Submitted by:	Zhihao Yuan <lichray@gmail.com>
2011-06-20 14:02:08 +00:00

19 lines
508 B
C++

--- ./src/umplayer.cpp.orig 2011-03-29 07:43:57.000000000 -0500
+++ ./src/umplayer.cpp 2011-06-03 01:07:11.292091723 -0500
@@ -443,13 +443,13 @@ void UMPlayer::showInfo() {
.arg(umplayerVersion())
#ifdef Q_OS_LINUX
.arg("Linux")
-#else
-#ifdef Q_OS_WIN
+#elif defined(Q_OS_FREEBSD)
+ .arg("FreeBSD")
+#elif defined(Q_OS_WIN)
.arg("Windows ("+win_ver+")")
#else
.arg("Other OS")
#endif
-#endif
;
printf("%s\n", s.toLocal8Bit().data() );