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.

45 lines
1.3 KiB

  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 Clifford Wolf
  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 ---
  17. --- ./src/disku.c.org Thu May 15 18:31:53 2003
  18. +++ ./src/disku.c Thu May 15 18:32:02 2003
  19. @@ -19,6 +19,7 @@
  20. #include <stdio.h>
  21. #include <string.h>
  22. #include <sys/ioctl.h>
  23. +#include <errno.h>
  24. #include "gpart.h"
  25. #if defined(__linux__)
  26. @@ -27,7 +28,6 @@
  27. #endif
  28. #if defined(__FreeBSD__)
  29. -#include <errno.h>
  30. #include <sys/disklabel.h>
  31. #endif
  32. --- ./src/l64seek.c.orig 2003-05-20 11:33:12.000000000 +0200
  33. +++ ./src/l64seek.c 2003-05-20 11:33:33.000000000 +0200
  34. @@ -15,6 +15,7 @@
  35. */
  36. #include "l64seek.h"
  37. +#include <errno.h>
  38. #define OSTACKLEN 16