[SCM] smplayer/master: Fixup mplayer2 autodetection patch

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Fri Mar 29 22:38:39 UTC 2013


The following commit has been merged in the master branch:
commit 9d59d7c39e2140a321f77399100a2a48e7757f75
Author: Reinhard Tartler <siretart at tauware.de>
Date:   Fri Mar 29 23:37:45 2013 +0100

    Fixup mplayer2 autodetection patch
    
    I forgot a missing include

diff --git a/debian/patches/01-add-mplayer2-detection.patch b/debian/patches/01-add-mplayer2-detection.patch
index 6991801..08af9ff 100644
--- a/debian/patches/01-add-mplayer2-detection.patch
+++ b/debian/patches/01-add-mplayer2-detection.patch
@@ -10,7 +10,15 @@ dpkg-specific, but light-weight check.
 
 --- a/src/core.cpp
 +++ b/src/core.cpp
-@@ -1419,9 +1419,10 @@ void Core::startMplayer( QString file, d
+@@ -28,6 +28,7 @@
+ #endif
+ 
+ #include <cmath>
++#include <unistd.h>
+ 
+ #include "mplayerwindow.h"
+ #include "desktopinfo.h"
+@@ -1419,9 +1420,10 @@ void Core::startMplayer( QString file, d
          mplayer_bin = fi.absoluteFilePath();
  	}
  

-- 
smplayer packaging



More information about the pkg-multimedia-commits mailing list