Ticket #42547: patch-imakemdep.h.diff

File patch-imakemdep.h.diff, 895 bytes (added by qbarnes (Quentin Barnes), 10 years ago)

Replacement version for imake's patch-imakemdep.h.diff patch file

  • (a) /tmp/imakemdep.h.orig vs. (b) imakemdep.h

    a b  
    267267#  if !defined (CROSSCOMPILE) || defined (CROSSCOMPILE_CPP)
    268268
    269269#   if defined(__APPLE__)
    270 #    define DEFAULT_CPP "/usr/bin/cpp"
    271 #    define DEFAULT_CC "cc"
     270#    define DEFAULT_CC "__MACPORTS_CC__"
    272271#   endif
    273272#   if defined(Lynx) || defined(__Lynx__)
    274273#    define DEFAULT_CC "gcc"
     
    339338#     define DEFAULT_CPP "/usr/X11R6/bin/cpp"
    340339#    endif
    341340#   endif
    342 #   if defined(__GNUC__) && !defined(USE_CC_E)
     341#   if defined(__GNUC__) && !defined(__clang__) && !defined(USE_CC_E)
    343342#    define USE_CC_E
    344343#    ifndef DEFAULT_CC
    345344#     define DEFAULT_CC "gcc"
     
    441440#    ifdef __SH4NOFPU__
    442441        "-D__SH4_NOFPU__",
    443442#    endif
    444 #    ifdef __GNUC__
     443#    if defined(__GNUC__) && !defined(__clang__)
    445444        "-traditional",
    446445#    endif
    447446#   endif