patch-configure 1012 B

1234567891011121314151617181920212223242526272829303132
  1. $OpenBSD: patch-configure,v 1.3 2015/04/08 14:38:11 kirby Exp $
  2. Freetype's headers conflict with -pedantic.
  3. --- configure.orig Wed Dec 31 14:06:05 2014
  4. +++ configure Sun Jan 11 23:07:37 2015
  5. @@ -1818,7 +1818,7 @@ echo $_use_cxx11
  6. # However, some platforms use GNU extensions in system header files, so
  7. # for these we must not use -pedantic.
  8. case $_host_os in
  9. -android | gamecube | psp | tizen | wii | webos)
  10. +android | gamecube | psp | tizen | wii | webos | openbsd* )
  11. ;;
  12. *)
  13. # ICC does not support pedantic, while GCC and clang do.
  14. @@ -2002,7 +2002,7 @@ cc_check_clean tmp_find_type_with_size.cpp
  15. # for the smaller sizes.
  16. echo_n "Alignment required... "
  17. case $_host_cpu in
  18. - i[3-6]86 | amd64 | x86_64 | ppc*)
  19. + i[3-6]86 | amd64 | x86_64 | powerpc* | ppc*)
  20. # Unaligned access should work
  21. _need_memalign=no
  22. ;;
  23. @@ -2045,7 +2045,7 @@ case $_host_cpu in
  24. echo "MIPS"
  25. DEFINES="$DEFINES -DMIPS_TARGET"
  26. ;;
  27. - ppc*)
  28. + powerpc* | ppc*)
  29. echo "PowerPC"
  30. DEFINES="$DEFINES -DPPC_TARGET"
  31. ;;