aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2006-12-25 06:48:04 +0800
committermarcus <marcus@FreeBSD.org>2006-12-25 06:48:04 +0800
commit225137d91b7fa8dac9e7e1e898132ce095f4a5b4 (patch)
tree9f9967dfb7b6de24c4d50e76459b45767e0db618 /audio
parente681040441cb0ede3596294abe8afd105c56937a (diff)
downloadfreebsd-ports-gnome-225137d91b7fa8dac9e7e1e898132ce095f4a5b4.tar.gz
freebsd-ports-gnome-225137d91b7fa8dac9e7e1e898132ce095f4a5b4.tar.zst
freebsd-ports-gnome-225137d91b7fa8dac9e7e1e898132ce095f4a5b4.zip
Fix build with GCC 4.x.
PR: 107141
Diffstat (limited to 'audio')
-rw-r--r--audio/goobox/files/patch-src_cd-drive.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/goobox/files/patch-src_cd-drive.c b/audio/goobox/files/patch-src_cd-drive.c
new file mode 100644
index 000000000000..44f796b1aa44
--- /dev/null
+++ b/audio/goobox/files/patch-src_cd-drive.c
@@ -0,0 +1,12 @@
+--- src/cd-drive.c.orig Sun Dec 24 22:45:32 2006
++++ src/cd-drive.c Sun Dec 24 22:45:12 2006
+@@ -82,6 +82,9 @@ struct CDDrivePriv {
+ char *udi;
+ };
+
++static int get_device_max_read_speed (char *device);
++static int get_device_max_write_speed (char *device);
++
+ static CDDrive *cd_drive_new (void);
+
+ /* Utility functions, be careful to have a match with what's use in the