aboutsummaryrefslogtreecommitdiff
path: root/audio/goobox
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2006-12-24 22:48:04 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2006-12-24 22:48:04 +0000
commitfefce752db3910a5195120ffac2417f6c487fdfa (patch)
tree225bca7de6d22a3fae23b389351bdbaae4d0ae19 /audio/goobox
parenta6c17ea4f76294a2a8386c20e97eb9ec878d8f13 (diff)
downloadports-fefce752db3910a5195120ffac2417f6c487fdfa.tar.gz
ports-fefce752db3910a5195120ffac2417f6c487fdfa.zip
Fix build with GCC 4.x.
PR: 107141
Notes
Notes: svn path=/head/; revision=180673
Diffstat (limited to 'audio/goobox')
-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