Port: emacs-nox11-24.3_10,3

Nicolas Edel nicolas.edel at gmail.com
Thu Feb 20 10:38:30 UTC 2014


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 ^^).


Cheers,

:Nicolas


More information about the freebsd-ports mailing list