summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2011-09-15 22:06:38 +0000
committerminskim <minskim@pkgsrc.org>2011-09-15 22:06:38 +0000
commit33765bbf97e038150bac23e3713af5213b72fb60 (patch)
tree4c393b609ea7a6efe1e61c572becab1fa9993e4c
parent2a0f88f2b6cb304b9b1b84f1d5f5e232b5266806 (diff)
downloadpkgsrc-33765bbf97e038150bac23e3713af5213b72fb60.tar.gz
Copy __got section when copying data segment on Mac OS X.
Patch provided by Tom Yu in PR 45240.
-rw-r--r--editors/emacs/distinfo3
-rw-r--r--editors/emacs/patches/patch-src_unexmacosx.c14
2 files changed, 16 insertions, 1 deletions
diff --git a/editors/emacs/distinfo b/editors/emacs/distinfo
index 2120f1b0946..8baafbfc8ec 100644
--- a/editors/emacs/distinfo
+++ b/editors/emacs/distinfo
@@ -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-ad) = e37f73048273801b8fd330d6897346b1f6e55fe9
SHA1 (patch-ae) = 116394051b3e2f4220ff5a3de3402923857940b9
SHA1 (patch-ag) = f462ad22762469360d90060afbc73e660e9f7db5
SHA1 (patch-bf) = 9ff58581e7b9c865397729169fadd3baecc4a1e3
+SHA1 (patch-src_unexmacosx.c) = 5821eb65c1e10192a7b2679691e4651b8d9fb263
diff --git a/editors/emacs/patches/patch-src_unexmacosx.c b/editors/emacs/patches/patch-src_unexmacosx.c
new file mode 100644
index 00000000000..707fe3f727f
--- /dev/null
+++ b/editors/emacs/patches/patch-src_unexmacosx.c
@@ -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