Revision
77278
Author
css@macports.org
Date
2011-03-25 03:50:23 -0700 (Fri, 25 Mar 2011)

Log Message

emacs-app: copy XCode 4 patch from r77151. refs #28613

Modified Paths

Added Paths

Diff

Modified: trunk/dports/aqua/emacs-app/Portfile (77277 => 77278)


--- trunk/dports/aqua/emacs-app/Portfile	2011-03-25 10:40:27 UTC (rev 77277)
+++ trunk/dports/aqua/emacs-app/Portfile	2011-03-25 10:50:23 UTC (rev 77278)
@@ -5,7 +5,7 @@
 
 name		emacs-app
 version		23.2
-revision	2
+revision	3
 categories	aqua editors
 maintainers	css
 description	The GNU Emacs text editor (Cocoa version)
@@ -34,7 +34,8 @@
 
 configure.args	--with-ns --without-x --without-dbus
 
-patchfiles      patch-ns-win.el.diff
+patchfiles      patch-ns-win.el.diff \
+                patch-src_unexmacosx.c.diff
 
 variant fullscreen description {Add fullscreen patch from http://gist.github.com/291150 as mentioned in http://www.sanityinc.com/full-screen-support-for-cocoa-emacs-on-osx} {
     patchfiles-append patch-fullscreen.diff

Copied: trunk/dports/aqua/emacs-app/files/patch-src_unexmacosx.c.diff (from rev 77192, trunk/dports/editors/emacs/files/patch-src_unexmacosx.c.diff) (0 => 77278)


--- trunk/dports/aqua/emacs-app/files/patch-src_unexmacosx.c.diff	                        (rev 0)
+++ trunk/dports/aqua/emacs-app/files/patch-src_unexmacosx.c.diff	2011-03-25 10:50:23 UTC (rev 77278)
@@ -0,0 +1,10 @@
+--- src/unexmacosx.c.orig	2011-01-08 12:45:14.000000000 -0500
++++ src/unexmacosx.c	2011-03-21 04:44:57.000000000 -0400
+@@ -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