aboutsummaryrefslogtreecommitdiff
path: root/audio/gsi/files
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2004-01-11 04:31:59 +0000
committerPete Fritchman <petef@FreeBSD.org>2004-01-11 04:31:59 +0000
commit444e04c4369cfb689389f6157c53c5f737fc46df (patch)
treebdc07e2101c2d5f038b36746e9fcfd6572606e93 /audio/gsi/files
parent2cc2b9c5b77282907e212bcc2e7c5fbec4284731 (diff)
downloadports-444e04c4369cfb689389f6157c53c5f737fc46df.tar.gz
ports-444e04c4369cfb689389f6157c53c5f737fc46df.zip
Fix build on sparc64.
Reported by: bento Tested on: panther
Notes
Notes: svn path=/head/; revision=97901
Diffstat (limited to 'audio/gsi/files')
-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 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;