Add patch to define quota type which defaults to an imcompatible one in latest glibc.
authorFlorian Boor <florian.boor@kernelconcepts.de>
Sun, 3 Jul 2005 15:55:15 +0000 (15:55 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sun, 3 Jul 2005 15:55:15 +0000 (15:55 +0000)
packages/samba/files/quota.patch [new file with mode: 0644]
packages/samba/samba_3.0.14a.bb

diff --git a/packages/samba/files/quota.patch b/packages/samba/files/quota.patch
new file mode 100644 (file)
index 0000000..6f42ff8
--- /dev/null
@@ -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 <sys/types.h>
+ #endif
index d58b939..68a261c 100644 (file)
@@ -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