]> git.pld-linux.org Git - packages/xbmc.git/commitdiff
- fix libsmbclient detection auto/th/xbmc-12.3-2
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 21 Jan 2014 11:59:03 +0000 (12:59 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 21 Jan 2014 11:59:03 +0000 (12:59 +0100)
- rel 2

smbclient.patch [new file with mode: 0644]
xbmc.spec

diff --git a/smbclient.patch b/smbclient.patch
new file mode 100644 (file)
index 0000000..b19e187
--- /dev/null
@@ -0,0 +1,12 @@
+--- xbmc-12.3-Frodo/configure.in~      2014-01-21 12:39:13.709404239 +0100
++++ xbmc-12.3-Frodo/configure.in       2014-01-21 12:44:02.928731740 +0100
+@@ -1309,7 +1309,8 @@
+ # samba
+ if test "x$use_samba" != "xno"; then
+-  AC_CHECK_LIB([smbclient], [main],,
++  PKG_CHECK_MODULES([LIBSMBCLIENT],    [smbclient],
++  [INCLUDES="$INCLUDES $LIBSMBCLIENT_CFLAGS"; LIBS="$LIBS $LIBSMBCLIENT_LIBS"],
+     use_samba=no;AC_MSG_ERROR($missing_library))
+     USE_LIBSMBCLIENT=0
+ else
index 6edd8ac7bf8fcb305a2597ef9fbdb39f89cec0ba..d01ae505bb82f30ac0747f61302bdffbef1b5680 100644 (file)
--- a/xbmc.spec
+++ b/xbmc.spec
@@ -15,7 +15,7 @@
 Summary:       XBMC is a free and open source media-player and entertainment hub
 Name:          xbmc
 Version:       12.3
-Release:       1
+Release:       2
 License:       GPL v2+ and GPL v3+
 Group:         Applications/Multimedia
 Source0:       http://mirrors.xbmc.org/releases/source/%{name}-%{version}.tar.gz
@@ -23,6 +23,7 @@ Source0:      http://mirrors.xbmc.org/releases/source/%{name}-%{version}.tar.gz
 Patch0:                ffmpeg2.patch
 Patch1:                jpeglib-boolean.patch
 Patch2:                %{name}-vdpau.patch
+Patch3:                smbclient.patch
 URL:           http://xbmc.org/
 BuildRequires: Mesa-libGLU-devel
 BuildRequires: OpenGL-devel
@@ -133,6 +134,7 @@ forecast functions, together third-party plugins.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 ./bootstrap
This page took 0.048286 seconds and 5 git commands to generate.