diff --git a/package/base/linux24/95-inet-for-userspace.patch b/package/base/linux24/95-inet-for-userspace.patch index 4decd898b..1394af7e5 100644 --- a/package/base/linux24/95-inet-for-userspace.patch +++ b/package/base/linux24/95-inet-for-userspace.patch @@ -20,7 +20,6 @@ # # --- ROCK-COPYRIGHT-NOTE-END --- - The in.h file need protection for some defines where the types are not known to the user-space and pkt_sched.h missed the inclusion of the types.h header which types it utilizes ... diff --git a/package/base/linux24/96-quota-for-userspace.patch b/package/base/linux24/96-quota-for-userspace.patch new file mode 100644 index 000000000..58a7e59a4 --- /dev/null +++ b/package/base/linux24/96-quota-for-userspace.patch @@ -0,0 +1,54 @@ +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/package/base/linux24/95-inet-for-userspace.patch +# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- + +Samba needs the struct ... + + - Rene Rebe + +--- linux-2.4.24/include/linux/quota.h.orig 2004-01-09 21:51:11.000000000 +0100 ++++ linux-2.4.24/include/linux/quota.h 2004-01-09 21:55:10.000000000 +0100 +@@ -132,12 +132,6 @@ + __u32 dqi_valid; + }; + +-#ifdef __KERNEL__ +- +-#include +-#include +-#include +- + /* + * Data for one user/group kept in memory + */ +@@ -152,6 +146,12 @@ + time_t dqb_itime; /* time limit for excessive inode use */ + }; + ++#ifdef __KERNEL__ ++ ++#include ++#include ++#include ++ + /* + * Data for one quotafile kept in memory + */ diff --git a/package/powerpc/linux24benh/95-inet-for-userspace.patch b/package/powerpc/linux24benh/95-inet-for-userspace.patch index 4decd898b..1394af7e5 100644 --- a/package/powerpc/linux24benh/95-inet-for-userspace.patch +++ b/package/powerpc/linux24benh/95-inet-for-userspace.patch @@ -20,7 +20,6 @@ # # --- ROCK-COPYRIGHT-NOTE-END --- - The in.h file need protection for some defines where the types are not known to the user-space and pkt_sched.h missed the inclusion of the types.h header which types it utilizes ... diff --git a/package/powerpc/linux24benh/96-quota-for-userspace.patch b/package/powerpc/linux24benh/96-quota-for-userspace.patch new file mode 100644 index 000000000..58a7e59a4 --- /dev/null +++ b/package/powerpc/linux24benh/96-quota-for-userspace.patch @@ -0,0 +1,54 @@ +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/package/base/linux24/95-inet-for-userspace.patch +# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- + +Samba needs the struct ... + + - Rene Rebe + +--- linux-2.4.24/include/linux/quota.h.orig 2004-01-09 21:51:11.000000000 +0100 ++++ linux-2.4.24/include/linux/quota.h 2004-01-09 21:55:10.000000000 +0100 +@@ -132,12 +132,6 @@ + __u32 dqi_valid; + }; + +-#ifdef __KERNEL__ +- +-#include +-#include +-#include +- + /* + * Data for one user/group kept in memory + */ +@@ -152,6 +146,12 @@ + time_t dqb_itime; /* time limit for excessive inode use */ + }; + ++#ifdef __KERNEL__ ++ ++#include ++#include ++#include ++ + /* + * Data for one quotafile kept in memory + */