diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-03-19 13:35:06 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-03-19 13:35:06 +0800 |
commit | 716e853082f85512d878931d3c2903f4a669c7e8 (patch) | |
tree | 3a24d58f313f014bb8f3aca107a85ec50d2fb1df /audio/gnome-media/files/patch-gnome-cd_gst-cdrom.c | |
parent | ea6bb0f0996a0cf559b13cfa9aef24e8199d6a23 (diff) | |
download | marcuscom-ports-716e853082f85512d878931d3c2903f4a669c7e8.tar marcuscom-ports-716e853082f85512d878931d3c2903f4a669c7e8.tar.gz marcuscom-ports-716e853082f85512d878931d3c2903f4a669c7e8.tar.bz2 marcuscom-ports-716e853082f85512d878931d3c2903f4a669c7e8.tar.lz marcuscom-ports-716e853082f85512d878931d3c2903f4a669c7e8.tar.xz marcuscom-ports-716e853082f85512d878931d3c2903f4a669c7e8.tar.zst marcuscom-ports-716e853082f85512d878931d3c2903f4a669c7e8.zip |
Remove these ports now that they have been committed to FreeBSD.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8576 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'audio/gnome-media/files/patch-gnome-cd_gst-cdrom.c')
-rw-r--r-- | audio/gnome-media/files/patch-gnome-cd_gst-cdrom.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/audio/gnome-media/files/patch-gnome-cd_gst-cdrom.c b/audio/gnome-media/files/patch-gnome-cd_gst-cdrom.c deleted file mode 100644 index dee1aa989..000000000 --- a/audio/gnome-media/files/patch-gnome-cd_gst-cdrom.c +++ /dev/null @@ -1,30 +0,0 @@ ---- gnome-cd/gst-cdrom.c.orig Mon Jan 22 09:01:38 2007 -+++ gnome-cd/gst-cdrom.c Mon Feb 12 15:59:18 2007 -@@ -44,13 +44,17 @@ - #endif - - #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) --# define GST_CDROM_IOCTL_CDCAPABILITY_REQUEST CDIOCCAPABILITY -+# define GST_CDROM_IOCTL_CDCAPABILITY_REQUEST CDIOCGETVOL -+struct ioc_vol vol_value; -+# define GST_CDROM_IOCTL_CDCAPABILITY_REQUEST_ADDR &vol_value - # define GST_CDROM_IOCTL_EJECT_REQUEST CDIOCEJECT - #elif defined(__NetBSD__) || defined(__OpenBSD__) - # define GST_CDROM_IOCTL_CDCAPABILITY_REQUEST CDIOCGETVOL -+# define GST_CDROM_IOCTL_CDCAPABILITY_REQUEST_ADDR 0 - # define GST_CDROM_IOCTL_EJECT_REQUEST CDIOCEJECT - #else - # define GST_CDROM_IOCTL_CDCAPABILITY_REQUEST CDROM_GET_CAPABILITY -+# define GST_CDROM_IOCTL_CDCAPABILITY_REQUEST_ADDR 0 - # define GST_CDROM_IOCTL_EJECT_REQUEST CDROMEJECT - #endif - -@@ -190,7 +194,7 @@ gst_cdrom_is_cdrom_device (GnomeCDRom * - #ifdef __sun - res = TRUE; - #else -- if (ioctl (fd, GST_CDROM_IOCTL_CDCAPABILITY_REQUEST, 0) >= 0) { -+ if (ioctl (fd, GST_CDROM_IOCTL_CDCAPABILITY_REQUEST, GST_CDROM_IOCTL_CDCAPABILITY_REQUEST_ADDR) >= 0) { - res = TRUE; - } else { - GST_DEBUG ("ioctl() failed: %s", g_strerror (errno)); |