Ticket #25166: emacs-app-unexec.patch

File emacs-app-unexec.patch, 1.0 KB (added by dackze+macports@…, 14 years ago)

Updated portfile with patch for unexmacosx.c

  • files/unexec.patch

     
     1--- src/unexmacosx.c.orig       2010-08-07 21:04:49.000000000 -0400
     2+++ src/unexmacosx.c    2010-08-07 21:05:06.000000000 -0400
     3@@ -822,6 +822,7 @@
     4        }
     5       else if (strncmp (sectp->sectname, "__la_symbol_ptr", 16) == 0
     6               || strncmp (sectp->sectname, "__nl_symbol_ptr", 16) == 0
     7+              || strncmp (sectp->sectname, "__got", 6) == 0
     8               || strncmp (sectp->sectname, "__la_sym_ptr2", 16) == 0
     9               || strncmp (sectp->sectname, "__dyld", 16) == 0
     10               || strncmp (sectp->sectname, "__const", 16) == 0
  • Portfile

     
    3030use_parallel_build      yes
    3131
    3232configure.args  --with-ns --without-x --without-dbus
     33patchfiles-append unexec.patch
    3334
    3435destroot {
    3536        system "cd ${worksrcpath} && make install"