On Fri, 21 Feb 2014 20:57:29 +0530, ash...@freebsd.org (Ashish SHUKLA) said: > On Thu, 20 Feb 2014 11:38:29 +0100, Nicolas Edel <nicolas.e...@gmail.com> > said: >> Hi,
>> Just to let you know the current port of emacs-nox11 (and probably >> emacs) doesn't compile on FreeBSD-10.0/sparc64 target and relates to >> patch-src_sysdep.c. Once applied, the src.sysdep.c files looks like: >> #ifdef __FreeBSD__ >> #include <sys/user.h> >> #include <sys/resource.h> >> #include <math.h> >> #endif >> #ifdef __FreeBSD__ >> #include <sys/sysctl.h> >> /* machine/frame.h in Sparc/ARM has 'struct frame' which conflicts >> with Emacs' 'struct frame', so rename it */ >> #if defined(__sparc__) || defined(__arm__) >> #define frame freebsd_sparc_frame >> #endif >> #include <sys/user.h> >> #if defined(__sparc__) || defined(__arm__) >> #undef frame >> #endif >> #include <sys/resource.h> >> #include <math.h> >> #endif >> As you may notice, you patch add code but don't replace the old one. >> It has therefore no effect. Please find attached the modified patch >> (that wou'll prefer to generate by yourself, I know ^^). > Hi Nicolas, > Thanks for bringing this to my notice. I was aware of it, and thought, I'd > this taken care of already, but looks like I missed. > I'll apply this diff, and commit it. Committed[1]. References: [1] http://svnweb.freebsd.org/ports?view=revision&revision=345683 Thanks! -- Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 Sent from my Emacs
signature.asc
Description: PGP signature