aboutsummaryrefslogtreecommitdiffstats
path: root/audio/gsi/files
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2004-01-11 12:31:59 +0800
committerpetef <petef@FreeBSD.org>2004-01-11 12:31:59 +0800
commitb1cb73412074883892f1deb2380ec8b36657ceb0 (patch)
tree939cfd998edc23d1cf222775192f86043a5022f6 /audio/gsi/files
parentc18be9a5ac420d886bbd45ac169fc5bd1c4299c4 (diff)
downloadfreebsd-ports-gnome-b1cb73412074883892f1deb2380ec8b36657ceb0.tar.gz
freebsd-ports-gnome-b1cb73412074883892f1deb2380ec8b36657ceb0.tar.zst
freebsd-ports-gnome-b1cb73412074883892f1deb2380ec8b36657ceb0.zip
Fix build on sparc64.
Reported by: bento Tested on: panther
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;