Bug#743604: mplayer2: Missing Samba (4.0) dependency in experimental
Xiangyu LIU
u122334 at gmail.com
Fri Apr 4 06:19:04 UTC 2014
Package: src:mplayer2
Version: 2.0-728-g2c378c7-1
Severity: normal
Tags: patch
Hi dear maintainers,
Mplayer2 source package in debian (experimental) has "libsmbclient-dev"
building dependency. (https://packages.debian.org/source/experimental/mplayer2)
But Mplayer2 binary package in experimental does not have "libsmbclient"
dependency. (https://packages.debian.org/experimental/mplayer2)
Please update mplayer2 source to build with new samba-4.0
(patch from www.linuxfromscratch.org).
diff -Naru a/configure b/configure
--- a/configure 2014-03-09 08:06:06.000000000 +0800
+++ b/configure 2014-04-04 12:51:15.975609904 +0800
@@ -3166,7 +3166,7 @@
if test "$_smb" = auto; then
_smb=no
for _ld_tmp in "-lsmbclient" "-lsmbclient $_ld_dl" "-lsmbclient $_ld_dl -lnsl" "-lsmbclient $_ld_dl -lssl -ln$
- statement_check libsmbclient.h 'smbc_opendir("smb://")' $_ld_tmp &&
+ statement_check samba-4.0/libsmbclient.h 'smbc_opendir("smb://")' $_ld_tmp &&
extra_ldflags="$extra_ldflags $_ld_tmp" && _smb=yes && break
done
fi
diff -Naru a/stream/stream_smb.c b/stream/stream_smb.c
--- a/stream/stream_smb.c 2014-03-09 08:06:06.000000000 +0800
+++ b/stream/stream_smb.c 2014-04-04 12:51:15.975609904 +0800
@@ -18,7 +18,7 @@
#include "config.h"
-#include <libsmbclient.h>
+#include <samba-4.0/libsmbclient.h>
#include <unistd.h>
#include "mp_msg.h"
More information about the pkg-multimedia-maintainers
mailing list