Browse Source

Fix FreeBSD Compilation

master
Peter Smej 24 years ago committed by Ralf S. Engelschall
parent
commit
63537ef5b3
  1. 12
      emacs/emacs-20.7.patch
  2. 2
      emacs/emacs.spec

12
emacs/emacs-20.7.patch

@ -0,0 +1,12 @@
--- src/emacs.c.orig Wed May 24 15:58:54 2000
+++ src/emacs.c Fri Oct 19 09:42:22 2001
@@ -602,7 +602,9 @@
char stack_bottom_variable;
int skip_args = 0;
extern int errno;
+#ifndef __FreeBSD__
extern int sys_nerr;
+#endif
#ifdef HAVE_SETRLIMIT
struct rlimit rlim;
#endif

2
emacs/emacs.spec

@ -36,6 +36,7 @@ Release: 2
# list of sources
Source0: ftp://ftp.gnu.org/gnu/emacs/emacs-%{version}.tar.gz
Patch0: emacs-%{version}.patch
# build information
Prefix: %{l_prefix}
@ -50,6 +51,7 @@ AutoReqProv: no
%prep
%setup -q
%patch -p0
%build
%{l_rpmtool} subst \

Loading…
Cancel
Save