aboutsummaryrefslogtreecommitdiff
path: root/audio/grip/files
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2002-05-30 22:35:28 +0000
committerPete Fritchman <petef@FreeBSD.org>2002-05-30 22:35:28 +0000
commitf5de0fa72683c82bd4c29a48032e62ab3f3135ec (patch)
tree5fab80628088a6cc405075ac75ada44771d7fc1b /audio/grip/files
parent2d1ac4e026872df9423fef4141e0e46fc701ae5d (diff)
downloadports-f5de0fa72683c82bd4c29a48032e62ab3f3135ec.tar.gz
ports-f5de0fa72683c82bd4c29a48032e62ab3f3135ec.zip
Notes
Diffstat (limited to 'audio/grip/files')
-rw-r--r--audio/grip/files/patch-src-grip.c30
1 files changed, 28 insertions, 2 deletions
diff --git a/audio/grip/files/patch-src-grip.c b/audio/grip/files/patch-src-grip.c
index 120180592f32..8b0eaa508cf7 100644
--- a/audio/grip/files/patch-src-grip.c
+++ b/audio/grip/files/patch-src-grip.c
@@ -1,5 +1,5 @@
---- src/grip.c.orig Wed May 1 18:30:22 2002
-+++ src/grip.c Wed May 1 18:30:33 2002
+--- src/grip.c.orig Sun Mar 10 21:59:44 2002
++++ src/grip.c Wed May 29 21:57:19 2002
@@ -144,7 +144,7 @@
app=gnome_app_new(PACKAGE,_("Grip"));
@@ -9,3 +9,29 @@
gtk_object_set_user_data(GTK_OBJECT(app),(gpointer)ginfo);
+@@ -511,8 +511,10 @@
+ if(ginfo->rewinding) Rewind(ginfo);
+
+ #ifdef GRIPCD
+- if(!ginfo->have_disc)
+- CheckNewDisc(ginfo);
++ if (!(time(0) % 10)) {
++ if(!ginfo->have_disc)
++ CheckNewDisc(ginfo);
++ }
+
+ if(ginfo->auto_eject_countdown && !(--ginfo->auto_eject_countdown))
+ EjectDisc(&(ginfo->disc));
+@@ -522,8 +524,10 @@
+ if(ginfo->ripping|ginfo->encoding) UpdateRipProgress(ginfo);
+
+ if(!ginfo->ripping) {
+- if(!ginfo->have_disc)
+- CheckNewDisc(ginfo);
++ if (!(time(0) % 10)) {
++ if(!ginfo->have_disc)
++ CheckNewDisc(ginfo);
++ }
+
+ UpdateDisplay(ginfo);
+ }