From: Florian Boor Date: Sun, 3 Jul 2005 15:55:15 +0000 (+0000) Subject: Add patch to define quota type which defaults to an imcompatible one in latest glibc. X-Git-Tag: Release-2010-05/1~9453^2~4251^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ea1444177fa4050b76db522a44fce82541a73f3;p=openembedded.git Add patch to define quota type which defaults to an imcompatible one in latest glibc. --- diff --git a/packages/samba/files/quota.patch b/packages/samba/files/quota.patch new file mode 100644 index 0000000000..6f42ff868f --- /dev/null +++ b/packages/samba/files/quota.patch @@ -0,0 +1,11 @@ +--- lib/sysquotas_4A.c.old 2005-07-03 17:16:00.000000000 +0200 ++++ lib/sysquotas_4A.c 2005-07-03 17:10:09.000000000 +0200 +@@ -28,6 +28,8 @@ + /* long quotactl(int cmd, char *special, qid_t id, caddr_t addr) */ + /* this is used by: HPUX,IRIX */ + ++ #define _LINUX_QUOTA_VERSION 1 ++ + #ifdef HAVE_SYS_TYPES_H + #include + #endif diff --git a/packages/samba/samba_3.0.14a.bb b/packages/samba/samba_3.0.14a.bb index d58b939399..68a261cbc1 100644 --- a/packages/samba/samba_3.0.14a.bb +++ b/packages/samba/samba_3.0.14a.bb @@ -1,4 +1,5 @@ -PR = "r6" + +PR = "r7" # Ugly patch to hack configure.in to set the CPPFLAGS without actually checking for LFS support # For nslu2. Will probably work for forcing for other archs as well. @@ -10,6 +11,7 @@ SRC_URI = "http://us2.samba.org/samba/ftp/stable/samba-${PV}.tar.gz \ file://cifs.patch;patch=1 \ ${LFS_SRC_URI} \ file://init \ + file://quota.patch;patch=1;pnum=0 \ " S := ${WORKDIR}/${P}/source