Ticket #8748: ghc-7.8.1_rc1-fix-UNREG-system-ffi.patch

File ghc-7.8.1_rc1-fix-UNREG-system-ffi.patch, 881 bytes (added by slyfox, 4 years ago)

ghc-7.8.1_rc1-fix-UNREG-system-ffi.patch

  • rts/package.conf.in

    commit 979ffc416cadfcf6f9518e342f03d973e76e968b
    Author: Sergei Trofimovich <slyfox@gentoo.org>
    Date:   Tue Feb 11 22:16:38 2014 +0300
    
        rts/package.conf.in: fix UNREG on --with-system-libffi when include-dir is passed explicitely
        
        Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
    
    diff --git a/rts/package.conf.in b/rts/package.conf.in
    index 010305f..eb38690 100644
    a b extra-libraries: 
    5757#endif
    5858
    5959#ifdef INSTALLING
    60 include-dirs:           INCLUDE_DIR PAPI_INCLUDE_DIR
     60include-dirs:           INCLUDE_DIR PAPI_INCLUDE_DIR FFI_INCLUDE_DIR
    6161#else /* !INSTALLING */
    62 include-dirs:           TOP"/rts/dist/build" TOP"/includes" TOP"/includes/dist-derivedconstants/header"
     62include-dirs:           TOP"/rts/dist/build" TOP"/includes" TOP"/includes/dist-derivedconstants/header" FFI_INCLUDE_DIR
    6363#endif