Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Feb 2014 11:38:29 +0100
From:      Nicolas Edel <nicolas.edel@gmail.com>
To:        ashish@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   Port: emacs-nox11-24.3_10,3
Message-ID:  <CAJvpi_u6mhb%2B%2Bo-13fedTeVmqM1afyMh9=MnM50SbFPG7sY4tA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJvpi_u6mhb%2B%2Bo-13fedTeVmqM1afyMh9=MnM50SbFPG7sY4tA>