pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/emacs Copy __got section when copying data seg...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bff1c185ed8e
branches:  trunk
changeset: 592891:bff1c185ed8e
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Thu Sep 15 22:06:38 2011 +0000

description:
Copy __got section when copying data segment on Mac OS X.

Patch provided by Tom Yu in PR 45240.

diffstat:

 editors/emacs/distinfo                       |   3 ++-
 editors/emacs/patches/patch-src_unexmacosx.c |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r e9b3e31ca535 -r bff1c185ed8e editors/emacs/distinfo
--- a/editors/emacs/distinfo    Thu Sep 15 21:59:46 2011 +0000
+++ b/editors/emacs/distinfo    Thu Sep 15 22:06:38 2011 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.50 2011/09/12 22:31:58 wiz Exp $
+$NetBSD: distinfo,v 1.51 2011/09/15 22:06:38 minskim Exp $
 
 SHA1 (emacs-23.3a.tar.gz) = d9fa8d121577dddb192297b8caa55cb8123e2e8a
 RMD160 (emacs-23.3a.tar.gz) = 47104bebe70c509b82fd469bab0dea07e9e10fef
@@ -9,3 +9,4 @@
 SHA1 (patch-ae) = 116394051b3e2f4220ff5a3de3402923857940b9
 SHA1 (patch-ag) = f462ad22762469360d90060afbc73e660e9f7db5
 SHA1 (patch-bf) = 9ff58581e7b9c865397729169fadd3baecc4a1e3
+SHA1 (patch-src_unexmacosx.c) = 5821eb65c1e10192a7b2679691e4651b8d9fb263
diff -r e9b3e31ca535 -r bff1c185ed8e editors/emacs/patches/patch-src_unexmacosx.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/emacs/patches/patch-src_unexmacosx.c      Thu Sep 15 22:06:38 2011 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_unexmacosx.c,v 1.1 2011/09/15 22:06:38 minskim Exp $
+
+Upstream git commit c8bba48c5889c4773c62a10f7c3d4383881f11c1.
+
+--- src/unexmacosx.c.orig      2011-01-08 17:45:14.000000000 +0000
++++ src/unexmacosx.c
+@@ -823,6 +823,7 @@ copy_data_segment (struct load_command *
+       else if (strncmp (sectp->sectname, "__la_symbol_ptr", 16) == 0
+              || strncmp (sectp->sectname, "__nl_symbol_ptr", 16) == 0
+              || strncmp (sectp->sectname, "__la_sym_ptr2", 16) == 0
++             || strncmp (sectp->sectname, "__got", 16) == 0
+              || strncmp (sectp->sectname, "__dyld", 16) == 0
+              || strncmp (sectp->sectname, "__const", 16) == 0
+              || strncmp (sectp->sectname, "__cfstring", 16) == 0



Home | Main Index | Thread Index | Old Index