aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2005-07-03 15:55:15 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-03 15:55:15 +0000
commit8ea1444177fa4050b76db522a44fce82541a73f3 (patch)
tree33facb6a628f6a01d3241c7e0341b9e091a794de
parentfd009c38ded8c69bb161b828d5f0a83227115c07 (diff)
downloadopenembedded-8ea1444177fa4050b76db522a44fce82541a73f3.tar.gz
Add patch to define quota type which defaults to an imcompatible one in latest glibc.
-rw-r--r--packages/samba/files/quota.patch11
-rw-r--r--packages/samba/samba_3.0.14a.bb4
2 files changed, 14 insertions, 1 deletions
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 <sys/types.h>
+ #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