Date: Wed, 03 Sep 2003 14:49:31 +0200 From: Frank Ruell <stoerte@dreamwarrior.net> To: FreeBSD-gnats-submit@freebsd.org Cc: gnome@freebsd.org Subject: patch: audio/rhythmbox small fix for build-error WITH_XINE=yes Message-ID: <E19uX4l-0006CM-3g@dreamwarrior.foobar.ath.cx>
next in thread | raw e-mail | index | archive | help
>Submitter-Id: current-users >Originator: Frank Ruell >Confidential: no >Synopsis: patch: audio/rhythmbox small fix for build-error WITH_XINE=yes >Severity: non-critical >Priority: low >Category: ports >Class: update >Release: FreeBSD 5.1-RELEASE-p2 i386 >Environment: System: FreeBSD dreamwarrior.foobar.ath.cx 5.1-RELEASE-p2 FreeBSD 5.1-RELEASE-p2 #0: Wed Aug 20 18:32:14 CEST 2003 stoerte@dreamwarrior.foobar.ath.cx:/usr/obj/usr/src/sys/Dreamwarrior i386 >Description: the build fails WITH_XINE=yes, add a check if we have XINE_CLOSE to make it build again. Fix pulled from CVS. >Fix: --- rhythmbox-0.5.2_2.patch begins here --- diff -ruN rhythmbox.orig/Makefile rhythmbox/Makefile --- rhythmbox.orig/Makefile Wed Sep 3 14:14:40 2003 +++ rhythmbox/Makefile Wed Sep 3 14:45:24 2003 @@ -7,7 +7,7 @@ PORTNAME= rhythmbox PORTVERSION= 0.5.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.5 diff -ruN rhythmbox.orig/files/patch-monkey-media-player-xine.c rhythmbox/files/patch-monkey-media-player-xine.c --- rhythmbox.orig/files/patch-monkey-media-player-xine.c Thu Jan 1 01:00:00 1970 +++ rhythmbox/files/patch-monkey-media-player-xine.c Wed Sep 3 14:33:39 2003 @@ -0,0 +1,13 @@ +--- monkey-media/monkey-media-player-xine.c.orig Wed Sep 3 14:30:52 2003 ++++ monkey-media/monkey-media-player-xine.c Wed Sep 3 14:32:41 2003 +@@ -520,8 +520,10 @@ + if (xine_get_param (mp->priv->stream, XINE_PARAM_SPEED) == XINE_SPEED_NORMAL) + xine_set_param (mp->priv->stream, XINE_PARAM_SPEED, XINE_SPEED_PAUSE); + ++#ifdef HAVE_XINE_CLOSE + /* Close the audio device when on pause */ + xine_set_param (mp->priv->stream, XINE_PARAM_AUDIO_CLOSE_DEVICE, 1); ++#endif + } + + mp->priv->timer_add += floor (g_timer_elapsed (mp->priv->timer, NULL) + 0.5); --- rhythmbox-0.5.2_2.patch ends here ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E19uX4l-0006CM-3g>