OpenSDE Packages Database (without history before r20070)
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.

46 lines
1.3 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../gpart/errno.patch
  5. # Copyright (C) 2008 The OpenSDE Project
  6. # Copyright (C) 2004 - 2006 The T2 SDE Project
  7. # Copyright (C) 1998 - 2003 Clifford Wolf
  8. #
  9. # More information can be found in the files COPYING and README.
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. # --- SDE-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"
  26. #if defined(__linux__)
  27. @@ -27,7 +28,6 @@
  28. #endif
  29. #if defined(__FreeBSD__)
  30. -#include <errno.h>
  31. #include <sys/disklabel.h>
  32. #endif
  33. --- ./src/l64seek.c.orig 2003-05-20 11:33:12.000000000 +0200
  34. +++ ./src/l64seek.c 2003-05-20 11:33:33.000000000 +0200
  35. @@ -15,6 +15,7 @@
  36. */
  37. #include "l64seek.h"
  38. +#include <errno.h>
  39. #define OSTACKLEN 16