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.

38 lines
1.2 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../bin86/bin86-long.patch
  5. # Copyright (C) 2015 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. --- ./ld/x86_aout.h.orig
  17. +++ ./ld/x86_aout.h
  18. @@ -11,17 +11,12 @@
  19. /* If the host isn't an x86 all bets are off, use chars. */
  20. #if defined(i386) || defined(__BCC__) || defined(MSDOS)
  21. typedef long Long;
  22. -#define __OUT_OK 1
  23. #else
  24. /* Beware: this will probably allow some BE hosts to generate broken files. */
  25. -#ifdef INT32_MAX
  26. #include <stdint.h>
  27. typedef int32_t Long;
  28. -#define __OUT_OK 1
  29. -#else
  30. -typedef char Long[4];
  31. #endif
  32. -#endif
  33. +#define __OUT_OK 1
  34. struct exec { /* a.out header */
  35. unsigned char a_magic[2]; /* magic number */