pkgsrc-Bugs archive

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

pkg/45240: emacs build fails on Darwin 64-bit with Xcode 4



>Number:         45240
>Category:       pkg
>Synopsis:       emacs build fails on Darwin 64-bit with Xcode 4
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 11 03:00:00 +0000 2011
>Originator:     Tom Yu
>Release:        
>Organization:
>Environment:
Darwin spark-gap.mit.edu 10.7.0 Darwin Kernel Version 10.7.0: Sat Jan 29 
15:17:16 PST 2011; root:xnu-1504.9.37~1/RELEASE_I386 i386

>Description:
With ABI=64, building emacs on Mac OS X 10.6.8 and Xcode 4 fails during unexec. 
It was fixed upstream with 
http://repo.or.cz/w/emacs.git/commitdiff/c8bba48c5889c4773c62a10f7c3d4383881f11c1

>How-To-Repeat:
Attempt to build emacs on Mac OS X 10.6.8 with ABI=64.
>Fix:
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/editors/emacs/distinfo,v
retrieving revision 1.49
diff -u -r1.49 distinfo
--- distinfo    9 Jun 2011 13:47:31 -0000       1.49
+++ distinfo    11 Aug 2011 02:56:45 -0000
@@ -9,3 +9,4 @@
 SHA1 (patch-ae) = 116394051b3e2f4220ff5a3de3402923857940b9
 SHA1 (patch-ag) = f462ad22762469360d90060afbc73e660e9f7db5
 SHA1 (patch-bf) = 9ff58581e7b9c865397729169fadd3baecc4a1e3
+SHA1 (patch-src_unexmacosx.c) = 2721fb9117055bde9b2647f59850270a34d289ea
Index: patches/patch-src_unexmacosx.c
===================================================================
RCS file: patches/patch-src_unexmacosx.c
diff -N patches/patch-src_unexmacosx.c
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_unexmacosx.c      11 Aug 2011 02:56:45 -0000
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- src/unexmacosx.c.orig      2011-01-08 17:45:14.000000000 +0000
++++ src/unexmacosx.c
+@@ -822,6 +822,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, "__got", 16) == 0
+              || strncmp (sectp->sectname, "__la_sym_ptr2", 16) == 0
+              || strncmp (sectp->sectname, "__dyld", 16) == 0
+              || strncmp (sectp->sectname, "__const", 16) == 0



Home | Main Index | Thread Index | Old Index