aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2011-12-03 14:17:43 +0000
committerUlrich Müller <ulm@gentoo.org>2011-12-03 14:17:43 +0000
commitdd2f424ba7327b4d25028fb80be564c6050ea888 (patch)
tree4c97d1d944acd6da81c43312888689bd8c4e675b
parentFix compilation with libpng-1.5, bug 384553. (diff)
downloademacs-patches-dd2f424ba7327b4d25028fb80be564c6050ea888.tar.gz
emacs-patches-dd2f424ba7327b4d25028fb80be564c6050ea888.tar.bz2
emacs-patches-dd2f424ba7327b4d25028fb80be564c6050ea888.zip
Fix dumping on OS X, bug 388817.emacs-23.3-patches-2
-rw-r--r--emacs/23.3/06_all_unexmacos.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/emacs/23.3/06_all_unexmacos.patch b/emacs/23.3/06_all_unexmacos.patch
new file mode 100644
index 0000000..248efd4
--- /dev/null
+++ b/emacs/23.3/06_all_unexmacos.patch
@@ -0,0 +1,15 @@
+https://bugs.gentoo.org/388817
+http://debbugs.gnu.org/8223
+patch from upstream, revision 100514 in emacs-23 branch
+* src/unexmacosx.c (copy_data_segment): Also copy __got section. (Bug#8223)
+
+--- emacs-23/src/unexmacosx.c
++++ emacs-23/src/unexmacosx.c
+@@ -822,6 +822,7 @@
+ }
+ else if (strncmp (sectp->sectname, "__la_symbol_ptr", 16) == 0
+ || strncmp (sectp->sectname, "__nl_symbol_ptr", 16) == 0
++ || strncmp (sectp->sectname, "__got", 16) == 0
+ || strncmp (sectp->sectname, "__la_sym_ptr2", 16) == 0
+ || strncmp (sectp->sectname, "__dyld", 16) == 0
+ || strncmp (sectp->sectname, "__const", 16) == 0