diff options
author | marcus <marcus@FreeBSD.org> | 2004-08-22 13:07:55 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-08-22 13:07:55 +0800 |
commit | 0ed4bdec98e0a566b9519db4e9f6c2c3331603aa (patch) | |
tree | 4a4ad13d055d92494f467bd1c76bcd6a4590c594 /audio/gnome-media | |
parent | ffab431d178303f7446227ec0c40b38b9d9d5802 (diff) | |
download | freebsd-ports-gnome-0ed4bdec98e0a566b9519db4e9f6c2c3331603aa.tar.gz freebsd-ports-gnome-0ed4bdec98e0a566b9519db4e9f6c2c3331603aa.tar.zst freebsd-ports-gnome-0ed4bdec98e0a566b9519db4e9f6c2c3331603aa.zip |
Properly initialize the length struct member for the previous patch that
updates track length status.
Diffstat (limited to 'audio/gnome-media')
-rw-r--r-- | audio/gnome-media/Makefile | 2 | ||||
-rw-r--r-- | audio/gnome-media/files/patch-gnome-cd_freebsd-cdrom.c | 19 |
2 files changed, 15 insertions, 6 deletions
diff --git a/audio/gnome-media/Makefile b/audio/gnome-media/Makefile index 9419747e0a2a..6b079e2c4601 100644 --- a/audio/gnome-media/Makefile +++ b/audio/gnome-media/Makefile @@ -7,7 +7,7 @@ PORTNAME= gnomemedia2 PORTVERSION= 2.6.2 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= audio gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/gnome-media/2.6 diff --git a/audio/gnome-media/files/patch-gnome-cd_freebsd-cdrom.c b/audio/gnome-media/files/patch-gnome-cd_freebsd-cdrom.c index 4d61c74e7175..47ce9e0aa32b 100644 --- a/audio/gnome-media/files/patch-gnome-cd_freebsd-cdrom.c +++ b/audio/gnome-media/files/patch-gnome-cd_freebsd-cdrom.c @@ -1,6 +1,15 @@ ---- gnome-cd/freebsd-cdrom.c.orig Sun Aug 22 00:42:31 2004 -+++ gnome-cd/freebsd-cdrom.c Sun Aug 22 00:48:36 2004 -@@ -903,6 +903,11 @@ +--- gnome-cd/freebsd-cdrom.c.orig Mon Jan 5 23:12:49 2004 ++++ gnome-cd/freebsd-cdrom.c Sun Aug 22 01:06:01 2004 +@@ -896,6 +896,8 @@ + + ASSIGN_MSF (realstatus->relative, blank_msf); + ASSIGN_MSF (realstatus->absolute, blank_msf); ++ ASSIGN_MSF (realstatus->length, blank_msf); ++ + realstatus->track = 1; + switch (subchnl.data->header.audio_status) { + case CD_AS_PLAY_IN_PROGRESS: +@@ -903,6 +905,11 @@ ASSIGN_MSF (realstatus->relative, subchnl.data->what.position.reladdr.msf); ASSIGN_MSF (realstatus->absolute, subchnl.data->what.position.absaddr.msf); realstatus->track = subchnl.data->what.position.track_number; @@ -12,7 +21,7 @@ break; case CD_AS_PLAY_PAUSED: -@@ -910,6 +915,11 @@ +@@ -910,6 +917,11 @@ ASSIGN_MSF (realstatus->relative, subchnl.data->what.position.reladdr.msf); ASSIGN_MSF (realstatus->absolute, subchnl.data->what.position.absaddr.msf); realstatus->track = subchnl.data->what.position.track_number; @@ -24,7 +33,7 @@ break; case CD_AS_PLAY_COMPLETED: -@@ -917,6 +927,11 @@ +@@ -917,6 +929,11 @@ ASSIGN_MSF (realstatus->relative, subchnl.data->what.position.reladdr.msf); ASSIGN_MSF (realstatus->absolute, subchnl.data->what.position.absaddr.msf); realstatus->track = subchnl.data->what.position.track_number; |