From 444e04c4369cfb689389f6157c53c5f737fc46df Mon Sep 17 00:00:00 2001 From: Pete Fritchman Date: Sun, 11 Jan 2004 04:31:59 +0000 Subject: Fix build on sparc64. Reported by: bento Tested on: panther --- audio/gsi/files/patch-lib::gsif::io.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 audio/gsi/files/patch-lib::gsif::io.c (limited to 'audio/gsi/files') diff --git a/audio/gsi/files/patch-lib::gsif::io.c b/audio/gsi/files/patch-lib::gsif::io.c new file mode 100644 index 000000000000..999a52dec64f --- /dev/null +++ b/audio/gsi/files/patch-lib::gsif::io.c @@ -0,0 +1,13 @@ +$FreeBSD$ + +--- lib/gsif/io.c.orig Sat Jan 10 22:22:35 2004 ++++ lib/gsif/io.c Sat Jan 10 22:21:32 2004 +@@ -80,7 +80,7 @@ + fint = gsif_swap_int16(i); + status = write (fd, &fint, 2); + #else +- fint = val; ++ fint = i; + status = write (fd, &fint, 2); + #endif + if (status != 2) (*s) = status; -- cgit v1.2.3