mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

53 lines
1.8 KiB

# --- 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/raidtools/linux-prio_tree_h.patch
# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or 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.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
diff -dur raidtools-1.00.3/detect_multipath.c raidtools-1.00.3-p/detect_multipath.c
--- raidtools-1.00.3/detect_multipath.c 2003-01-15 09:58:25.000000000 +0100
+++ raidtools-1.00.3-p/detect_multipath.c 2004-11-05 15:42:16.441758008 +0100
@@ -34,6 +34,13 @@
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
+
+/* for linux-2.6.9, from linux/types.h */
+# include <asm/types.h>
+# ifndef pgoff_t
+# define pgoff_t unsigned long
+# endif
+
#include <linux/fs.h>
#include <errno.h>
diff -dur raidtools-1.00.3/lsraid.c raidtools-1.00.3-p/lsraid.c
--- raidtools-1.00.3/lsraid.c 2003-01-15 09:58:25.000000000 +0100
+++ raidtools-1.00.3-p/lsraid.c 2004-11-05 15:41:44.078677944 +0100
@@ -42,6 +42,13 @@
#include <linux/types.h>
#include <linux/major.h>
+
+/* for linux-2.6.9, from linux/types.h */
+# include <asm/types.h>
+# ifndef pgoff_t
+# define pgoff_t unsigned long
+# endif
+
#include <linux/fs.h>
#include <linux/raid/md_u.h>
#include <linux/raid/md_p.h>