summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2004-01-11 04:31:59 +0000
committerpetef <petef@FreeBSD.org>2004-01-11 04:31:59 +0000
commitb1cb73412074883892f1deb2380ec8b36657ceb0 (patch)
tree939cfd998edc23d1cf222775192f86043a5022f6 /audio
parentc18be9a5ac420d886bbd45ac169fc5bd1c4299c4 (diff)
downloadFreeBSD-ports-b1cb73412074883892f1deb2380ec8b36657ceb0.zip
FreeBSD-ports-b1cb73412074883892f1deb2380ec8b36657ceb0.tar.gz
Fix build on sparc64.
Reported by: bento Tested on: panther
Diffstat (limited to 'audio')
-rw-r--r--audio/gsi/files/patch-lib::gsif::io.c13
1 files changed, 13 insertions, 0 deletions
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 0000000..999a52d
--- /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;
OpenPOWER on IntegriCloud