rpms/samba/devel samba-3.2.0pre1-buildfix.patch, NONE, 1.1 samba.spec, 1.140, 1.141
Simo Sorce (simo)
fedora-extras-commits at redhat.com
Fri Feb 22 18:09:47 UTC 2008
- Previous message (by thread): rpms/kaffeine/F-7 .cvsignore, 1.4, 1.5 kaffeine.spec, 1.5, 1.6 sources, 1.4, 1.5
- Next message (by thread): rpms/gnome-panel/devel sunrise.patch, NONE, 1.1 gnome-panel.spec, 1.266, 1.267
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: simo
Update of /cvs/pkgs/rpms/samba/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23446
Modified Files:
samba.spec
Added Files:
samba-3.2.0pre1-buildfix.patch
Log Message:
Try to fix the build with the new gcc
samba-3.2.0pre1-buildfix.patch:
--- NEW FILE samba-3.2.0pre1-buildfix.patch ---
--- samba-3.2.0pre1.orig/source/client/mount.cifs.c 2007-09-28 11:48:04.000000000 -0400
+++ samba-3.2.0pre1/source/client/mount.cifs.c 2008-02-22 12:48:39.000000000 -0500
@@ -37,6 +37,7 @@
#include <string.h>
#include <mntent.h>
#include <fcntl.h>
+#include <limits.h>
#define MOUNT_CIFS_VERSION_MAJOR "1"
#define MOUNT_CIFS_VERSION_MINOR "10"
Index: samba.spec
===================================================================
RCS file: /cvs/pkgs/rpms/samba/devel/samba.spec,v
retrieving revision 1.140
retrieving revision 1.141
diff -u -r1.140 -r1.141
--- samba.spec 20 Feb 2008 00:04:43 -0000 1.140
+++ samba.spec 22 Feb 2008 18:09:11 -0000 1.141
@@ -2,7 +2,7 @@
Name: samba
Epoch: 0
Version: 3.2.0
-Release: 1.pre1.2%{?dist}
+Release: 1.pre1.3%{?dist}
License: GPLv3+ and LGPLv3+
Group: System Environment/Daemons
URL: http://www.samba.org/
@@ -42,6 +42,7 @@
Patch111: samba-3.0.13-smbclient.patch
Patch200: samba-3.0.25rc1-inotifiy.patch
Patch201: samba-3.2.0pre1-winbindd-padding.patch
+patch202: samba-3.2.0pre1-buildfix.patch
Requires(pre): samba-common = %{epoch}:%{version}-%{release}
@@ -135,7 +136,7 @@
%prep
# TAG: change for non-pre
%setup -q -n samba-3.2.0pre1
-#%setup -q
+#%setup -q
# copy Red Hat specific scripts
mkdir packaging/Fedora
@@ -160,6 +161,7 @@
%patch111 -p1 -b .smbclient
%patch200 -p0 -b .inotify
%patch201 -p0 -b .winbind-padding
+%patch202 -p1 -b .buildfix
mv source/VERSION source/VERSION.orig
sed -e 's/SAMBA_VERSION_VENDOR_SUFFIX=$/&\"%{release}\"/' < source/VERSION.orig > source/VERSION
@@ -179,24 +181,27 @@
%endif
%ifarch ia64
#libtoolize --copy --force # get it to recognize IA-64
-#autoheader
+#autoheader
#autoconf
EXTRA="-D_LARGEFILE64_SOURCE"
%endif
CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -DLDAP_DEPRECATED" %configure \
--with-dnsupdate \
+ --with-ads \
--with-acl-support \
--with-automount \
+ --with-dnsupdate \
--with-libsmbclient \
--with-libsmbsharemodes \
--with-mmap \
--with-pam \
--with-pam_smbpass \
--with-quotas \
+ --with-sendfile-support \
--with-syslog \
--with-utmp \
--with-vfs \
- --with-sendfile-support \
+ --with-winbind \
--without-smbwrapper \
--with-lockdir=/var/lib/samba \
--with-piddir=/var/run \
@@ -665,6 +670,12 @@
#%{_includedir}/libmsrpc.h
%changelog
+* Fri Feb 22 2008 Simo Sorce <ssorce at redhat.com> - 3.2.0-0.pre1.3
+- Try to fix GCC 4.3 build
+- Add --with-dnsupdate flag and also make sure other flags are required just to
+ be sure the features are included without relying on autodetection to be
+ successful
+
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0:3.2.0-1.pre1.2
- Autorebuild for GCC 4.3
- Previous message (by thread): rpms/kaffeine/F-7 .cvsignore, 1.4, 1.5 kaffeine.spec, 1.5, 1.6 sources, 1.4, 1.5
- Next message (by thread): rpms/gnome-panel/devel sunrise.patch, NONE, 1.1 gnome-panel.spec, 1.266, 1.267
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list