From owner-freebsd-ports Mon Dec 4 15:54:31 1995 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA13299 for ports-outgoing; Mon, 4 Dec 1995 15:54:31 -0800 Received: from Glock.COM (root@glock.com [198.82.228.165]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id PAA13291 for ; Mon, 4 Dec 1995 15:54:25 -0800 Received: (from mmead@localhost) by Glock.COM (8.7.1/8.7.1) id SAA04801; Mon, 4 Dec 1995 18:54:18 -0500 (EST) Resent-Date: Mon, 4 Dec 1995 18:54:18 -0500 (EST) Resent-From: "matthew c. mead" Resent-Message-Id: <199512042354.SAA04801@Glock.COM> Message-Id: <199512042354.SAA04801@Glock.COM> Resent-To: ports@freebsd.org From: mmead@Glock.COM (matthew c. mead) To: ports@freebsd.org Subject: xemacs 19.13 diffs - will someone commit them under my name? Date: Mon, 4 Dec 95 18:53:09 EST Sender: owner-ports@freebsd.org Precedence: bulk These diffs incorporate the diffs for the xemacs 19.13 package, but add necessary steps to enable the native audio support under FreeBSD. I've tested it pretty thoroughly and it works great... Oops - forgot to send the diffs last time - duh. Here they are: ----- xemacs.diffs ----- --- xemacs-19.13/lisp/paths.el Tue Sep 20 15:56:23 1994 +++ xemacs-19.13.modified/lisp/paths.el Fri Dec 1 06:03:13 1995 @@ -107,7 +107,7 @@ ((memq system-type '(dgux-unix hpux usg-unix-v unisoft-unix rtu irix silicon-graphics-unix)) "/usr/mail/") - ((memq system-type '(netbsd)) + ((memq system-type '(netbsd freebsd)) "/var/mail/") (t "/usr/spool/mail/"))) diff -ur xemacs-19.13/src/Makefile.in.in xemacs-19.13.modified/src/Makefile.in.in --- xemacs-19.13/src/Makefile.in.in Tue Aug 29 17:57:18 1995 +++ xemacs-19.13.modified/src/Makefile.in.in Fri Dec 1 05:16:30 1995 @@ -282,7 +282,7 @@ # define SOUND_LIBS -lAlib # define SOUND_OBJS hpplay.o # else /* !HP9000S800 */ -# if defined (LINUX) +# if defined (LINUX) || defined (__FreeBSD__) # define SOUND_CFLAGS # define SOUND_LIBS # define SOUND_OBJS linuxplay.o diff -ur xemacs-19.13/src/linuxplay.c xemacs-19.13.modified/src/linuxplay.c --- xemacs-19.13/src/linuxplay.c Tue Aug 1 21:24:28 1995 +++ xemacs-19.13.modified/src/linuxplay.c Fri Dec 1 05:55:45 1995 @@ -33,7 +33,11 @@ #include #include -#include +#ifdef __FreeBSD__ +#include +#else +#include +#endif #include #include #include @@ -57,6 +61,10 @@ #else #define UNUSED(x) #define __inline__ +#endif + +#ifdef __FreeBSD__ +typedef void (*__sighandler_t)(int); #endif static __sighandler_t sighup_handler; ----- xemacs.diffs ----- -matt -- Matthew C. Mead mmead@Glock.COM | Network Administration and Software Development http://www.Glock.COM/~mmead/ | Consulting: BizNet Technologies -> mmead@bnt.com