Date: Mon, 4 Dec 95 18:53:09 EST From: mmead@Glock.COM (matthew c. mead) To: ports@freebsd.org Subject: xemacs 19.13 diffs - will someone commit them under my name? Message-ID: <199512042354.SAA04801@Glock.COM> Resent-Message-ID: <199512042354.SAA04801@Glock.COM>
next in thread | raw e-mail | index | archive | help
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 <errno.h> #include <fcntl.h> -#include <linux/soundcard.h> +#ifdef __FreeBSD__ +#include <machine/soundcard.h> +#else +#include <linux/soundcard.h> +#endif #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512042354.SAA04801>