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.

37 lines
1.5 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../partimage/hotfix-fs_xfs-__u64.patch
  5. # Copyright (C) 2006 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. --- ./src/client/fs/fs_xfs.h.orig 2006-09-28 15:02:20.000000000 +0200
  17. +++ ./src/client/fs/fs_xfs.h 2006-09-28 16:07:57.000000000 +0200
  18. @@ -150,13 +150,13 @@
  19. typedef __uint64_t xfs_dfiloff_t; // block number in a file
  20. typedef __uint64_t xfs_dfilblks_t; // number of blocks in a file
  21. -typedef uint64_t __u64;
  22. -typedef int64_t __s64;
  23. +//typedef uint64_t __u64;
  24. +//typedef int64_t __s64;
  25. -typedef __u64 xfs_off_t;
  26. +typedef uint64_t xfs_off_t;
  27. //typedef __s32 xfs32_off_t;
  28. -typedef __u64 xfs_ino_t; // <inode> type
  29. -typedef __s64 xfs_daddr_t; // <disk address> type
  30. +typedef uint64_t xfs_ino_t; // <inode> type
  31. +typedef int64_t xfs_daddr_t; // <disk address> type
  32. typedef char * xfs_caddr_t; // <core address> type
  33. typedef off_t linux_off_t;
  34. //typedef __kernel_ino_t linux_ino_t;