Dash:
[t2.git] / package / filesystem / gpart / errno.patch
blobea06650fe2235370b77e9192f8a7d267b6b88189
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../gpart/errno.patch
5 # Copyright (C) 2004 - 2006 The T2 SDE Project
6 # Copyright (C) 1998 - 2003 ROCK Linux Project
7 #
8 # More information can be found in the files COPYING and README.
9 #
10 # This patch file is dual-licensed. It is available under the license the
11 # patched project is licensed under, as long as it is an OpenSource license
12 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
13 # of the GNU General Public License as published by the Free Software
14 # Foundation; either version 2 of the License, or (at your option) any later
15 # version.
16 # --- T2-COPYRIGHT-NOTE-END ---
18 --- ./src/disku.c.org Thu May 15 18:31:53 2003
19 +++ ./src/disku.c Thu May 15 18:32:02 2003
20 @@ -19,6 +19,7 @@
21 #include <stdio.h>
22 #include <string.h>
23 #include <sys/ioctl.h>
24 +#include <errno.h>
25 #include "gpart.h"
27 #if defined(__linux__)
28 @@ -27,7 +28,6 @@
29 #endif
31 #if defined(__FreeBSD__)
32 -#include <errno.h>
33 #include <sys/disklabel.h>
34 #endif
36 --- ./src/l64seek.c.orig 2003-05-20 11:33:12.000000000 +0200
37 +++ ./src/l64seek.c 2003-05-20 11:33:33.000000000 +0200
38 @@ -15,6 +15,7 @@
41 #include "l64seek.h"
42 +#include <errno.h>
45 #define OSTACKLEN 16