[packages/samba/SAMBA_3_5] - up to 3.5.18, workaround for unrecognized command line option -fexport-all-symbols

glen glen at pld-linux.org
Mon Nov 19 14:41:00 CET 2012


commit 22b96206dd31bff85c5bb41520df239f9a64855e
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Nov 19 15:40:56 2012 +0200

    - up to 3.5.18, workaround for unrecognized command line option -fexport-all-symbols

 samba.spec | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/samba.spec b/samba.spec
index 79614ed..a1dfb45 100644
--- a/samba.spec
+++ b/samba.spec
@@ -64,13 +64,13 @@ Summary(tr.UTF-8):	SMB sunucusu
 Summary(uk.UTF-8):	SMB клієнт та сервер
 Summary(zh_CN.UTF-8):	Samba 客户端和服务器
 Name:		samba
-Version:	3.5.15
+Version:	3.5.18
 Release:	1
 Epoch:		1
 License:	GPL v3
 Group:		Networking/Daemons
 Source0:	http://www.samba.org/samba/ftp/stable/%{name}-%{version}.tar.gz
-# Source0-md5:	2d72c044bdfd854ee2ab736326da3afd
+# Source0-md5:	4bdb6d7ef23369d1c7d0199f0ebe012a
 Source1:	smb.init
 Source2:	%{name}.pamd
 Source3:	swat.inetd
@@ -852,6 +852,10 @@ Samba Module for Python.
 %patch5 -p1
 %endif
 
+# some error, proper fix probably needed
+# x86_64-pld-linux-gcc: error: unrecognized command line option '-fexport-all-symbols'
+%{__sed} -i -e 's,-fexport-all-symbols,,' examples/libsmbclient/smbwrapper/Makefile
+
 %{__sed} -i 's#%SAMBAVERSION%#%{version}#' docs/htmldocs/index.html
 
 #cd examples/VFS
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/samba.git/commitdiff/22b96206dd31bff85c5bb41520df239f9a64855e



More information about the pld-cvs-commit mailing list