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.

47 lines
1.2 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../directfb/types-fix.patch
  5. # Copyright (C) 2006 The T2 SDE 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. # --- T2-COPYRIGHT-NOTE-END ---
  16. Not sure if these __{u,s}{8,16,32,64} defines should be disabled unconditionally.
  17. At least on x86_64, this compiles however.
  18. --jsaw
  19. --- DirectFB-0.9.24/include/dfb_types.h.orig 2005-07-26 22:58:50.000000000 +0200
  20. +++ DirectFB-0.9.24/include/dfb_types.h 2006-02-13 22:03:19.000000000 +0100
  21. @@ -2,6 +2,9 @@
  22. #define __DFB_TYPES_H__
  23. #include <sys/types.h>
  24. +#include <asm/types.h>
  25. +
  26. +#ifdef __ASSEMBLY__
  27. #ifndef USE_KOS
  28. @@ -15,6 +18,7 @@
  29. #define __s32 int32_t
  30. #define __s64 int64_t
  31. +
  32. #else
  33. #define __u8 uint8
  34. @@ -30,3 +34,5 @@
  35. #endif
  36. #endif
  37. +
  38. +#endif