From 789243a92da700799effaaf827fc2de3b3c63621 Mon Sep 17 00:00:00 2001 From: fake Date: Wed, 8 Dec 2004 10:46:28 +0000 Subject: [PATCH] fake: libcss: add fix for kernel header weirdness (linux-prio_tree_h.patch) [2004120506314724099] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@5072 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/rene/libcss/linux-prio_tree_h.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 package/rene/libcss/linux-prio_tree_h.patch diff --git a/package/rene/libcss/linux-prio_tree_h.patch b/package/rene/libcss/linux-prio_tree_h.patch new file mode 100644 index 000000000..16b9bdcd9 --- /dev/null +++ b/package/rene/libcss/linux-prio_tree_h.patch @@ -0,0 +1,16 @@ +--- ./src/css_cat.c.orig 2004-12-05 06:21:37.364185640 +0100 ++++ ./src/css_cat.c 2004-12-05 06:22:23.249210056 +0100 +@@ -208,6 +208,13 @@ + * + */ + ++ ++/* for linux-2.6.9, from linux/types.h */ ++# include ++# ifndef pgoff_t ++# define pgoff_t unsigned long ++# endif ++ + #include + + int path_to_lba (char *p)