aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroger <roger@FreeBSD.org>2002-01-08 18:45:19 +0800
committerroger <roger@FreeBSD.org>2002-01-08 18:45:19 +0800
commita13c347c2ce1777f37fa4b0fd732f2302f981796 (patch)
tree1724222c40f7b167e343e741a4aae93271cecf01
parente04c29e0666bdf4081103d49608ebee34509ce69 (diff)
downloadfreebsd-ports-gnome-a13c347c2ce1777f37fa4b0fd732f2302f981796.tar.gz
freebsd-ports-gnome-a13c347c2ce1777f37fa4b0fd732f2302f981796.tar.zst
freebsd-ports-gnome-a13c347c2ce1777f37fa4b0fd732f2302f981796.zip
Add patch to stop 100% cpu utilisation
Obtained from: Peter Hollaubek <fifteen@inext.hu>
-rw-r--r--net/ekiga/Makefile1
-rw-r--r--net/ekiga/files/patch-ad19
-rw-r--r--net/gnomemeeting/Makefile1
-rw-r--r--net/gnomemeeting/files/patch-ad19
-rw-r--r--net/gnomemeeting2/Makefile1
-rw-r--r--net/gnomemeeting2/files/patch-ad19
6 files changed, 60 insertions, 0 deletions
diff --git a/net/ekiga/Makefile b/net/ekiga/Makefile
index 49fb274f1c77..80dceade12c1 100644
--- a/net/ekiga/Makefile
+++ b/net/ekiga/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnomemeeting
PORTVERSION= 0.12.2
+PORTREVISION= 1
CATEGORIES= net gnome
MASTER_SITES= http://www.gnomemeeting.org/downloads/latest/sources/
DISTNAME= GnomeMeeting-0.12.2
diff --git a/net/ekiga/files/patch-ad b/net/ekiga/files/patch-ad
new file mode 100644
index 000000000000..12eade185aaa
--- /dev/null
+++ b/net/ekiga/files/patch-ad
@@ -0,0 +1,19 @@
+*** src/gnomemeeting.cpp.orig Tue Jan 8 10:32:05 2002
+--- src/gnomemeeting.cpp Tue Jan 8 10:32:35 2002
+*************** gint gnome_idle_timer (void)
+*** 74,80 ****
+ gtk_main_iteration();
+ gdk_threads_leave ();
+
+! usleep (100);
+ return TRUE;
+ }
+
+--- 74,80 ----
+ gtk_main_iteration();
+ gdk_threads_leave ();
+
+! usleep (100000);
+ return TRUE;
+ }
+
diff --git a/net/gnomemeeting/Makefile b/net/gnomemeeting/Makefile
index 49fb274f1c77..80dceade12c1 100644
--- a/net/gnomemeeting/Makefile
+++ b/net/gnomemeeting/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnomemeeting
PORTVERSION= 0.12.2
+PORTREVISION= 1
CATEGORIES= net gnome
MASTER_SITES= http://www.gnomemeeting.org/downloads/latest/sources/
DISTNAME= GnomeMeeting-0.12.2
diff --git a/net/gnomemeeting/files/patch-ad b/net/gnomemeeting/files/patch-ad
new file mode 100644
index 000000000000..12eade185aaa
--- /dev/null
+++ b/net/gnomemeeting/files/patch-ad
@@ -0,0 +1,19 @@
+*** src/gnomemeeting.cpp.orig Tue Jan 8 10:32:05 2002
+--- src/gnomemeeting.cpp Tue Jan 8 10:32:35 2002
+*************** gint gnome_idle_timer (void)
+*** 74,80 ****
+ gtk_main_iteration();
+ gdk_threads_leave ();
+
+! usleep (100);
+ return TRUE;
+ }
+
+--- 74,80 ----
+ gtk_main_iteration();
+ gdk_threads_leave ();
+
+! usleep (100000);
+ return TRUE;
+ }
+
diff --git a/net/gnomemeeting2/Makefile b/net/gnomemeeting2/Makefile
index 49fb274f1c77..80dceade12c1 100644
--- a/net/gnomemeeting2/Makefile
+++ b/net/gnomemeeting2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnomemeeting
PORTVERSION= 0.12.2
+PORTREVISION= 1
CATEGORIES= net gnome
MASTER_SITES= http://www.gnomemeeting.org/downloads/latest/sources/
DISTNAME= GnomeMeeting-0.12.2
diff --git a/net/gnomemeeting2/files/patch-ad b/net/gnomemeeting2/files/patch-ad
new file mode 100644
index 000000000000..12eade185aaa
--- /dev/null
+++ b/net/gnomemeeting2/files/patch-ad
@@ -0,0 +1,19 @@
+*** src/gnomemeeting.cpp.orig Tue Jan 8 10:32:05 2002
+--- src/gnomemeeting.cpp Tue Jan 8 10:32:35 2002
+*************** gint gnome_idle_timer (void)
+*** 74,80 ****
+ gtk_main_iteration();
+ gdk_threads_leave ();
+
+! usleep (100);
+ return TRUE;
+ }
+
+--- 74,80 ----
+ gtk_main_iteration();
+ gdk_threads_leave ();
+
+! usleep (100000);
+ return TRUE;
+ }
+