Port: emacs-nox11-24.3_10,3
Ashish SHUKLA
ashish at FreeBSD.org
Sun Feb 23 01:33:48 UTC 2014
On Fri, 21 Feb 2014 20:57:29 +0530, ashish at FreeBSD.org (Ashish SHUKLA) said:
> On Thu, 20 Feb 2014 11:38:29 +0100, Nicolas Edel <nicolas.edel at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20140223/21bc8e5b/attachment.sig>
More information about the freebsd-ports
mailing list