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.
47 lines
1.3 KiB
47 lines
1.3 KiB
17 years ago
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||
18 years ago
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||
17 years ago
|
#
|
||
|
# Filename: package/.../gpart/errno.patch
|
||
16 years ago
|
# Copyright (C) 2008 The OpenSDE Project
|
||
18 years ago
|
# Copyright (C) 2004 - 2006 The T2 SDE Project
|
||
|
# Copyright (C) 1998 - 2003 Clifford Wolf
|
||
17 years ago
|
#
|
||
18 years ago
|
# More information can be found in the files COPYING and README.
|
||
17 years ago
|
#
|
||
18 years ago
|
# 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.
|
||
17 years ago
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
||
18 years ago
|
|
||
|
--- ./src/disku.c.org Thu May 15 18:31:53 2003
|
||
|
+++ ./src/disku.c Thu May 15 18:32:02 2003
|
||
|
@@ -19,6 +19,7 @@
|
||
|
#include <stdio.h>
|
||
|
#include <string.h>
|
||
|
#include <sys/ioctl.h>
|
||
|
+#include <errno.h>
|
||
|
#include "gpart.h"
|
||
|
|
||
|
#if defined(__linux__)
|
||
|
@@ -27,7 +28,6 @@
|
||
|
#endif
|
||
|
|
||
|
#if defined(__FreeBSD__)
|
||
|
-#include <errno.h>
|
||
|
#include <sys/disklabel.h>
|
||
|
#endif
|
||
|
|
||
|
--- ./src/l64seek.c.orig 2003-05-20 11:33:12.000000000 +0200
|
||
|
+++ ./src/l64seek.c 2003-05-20 11:33:33.000000000 +0200
|
||
|
@@ -15,6 +15,7 @@
|
||
|
*/
|
||
|
|
||
|
#include "l64seek.h"
|
||
|
+#include <errno.h>
|
||
|
|
||
|
|
||
|
#define OSTACKLEN 16
|