summaryrefslogtreecommitdiffstats
path: root/net-mgmt/etherape/files
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-30 13:15:22 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-30 13:15:22 +0800
commit5df36f0c06a5ce8305d67aee7979a5bf4e2d6d62 (patch)
treec41626ff7a4089432b15a730612d8f98018c0b57 /net-mgmt/etherape/files
parent934d2d9a2ec95b253b4d4151032f335b495a5314 (diff)
downloadmarcuscom-ports-5df36f0c06a5ce8305d67aee7979a5bf4e2d6d62.tar
marcuscom-ports-5df36f0c06a5ce8305d67aee7979a5bf4e2d6d62.tar.gz
marcuscom-ports-5df36f0c06a5ce8305d67aee7979a5bf4e2d6d62.tar.bz2
marcuscom-ports-5df36f0c06a5ce8305d67aee7979a5bf4e2d6d62.tar.lz
marcuscom-ports-5df36f0c06a5ce8305d67aee7979a5bf4e2d6d62.tar.xz
marcuscom-ports-5df36f0c06a5ce8305d67aee7979a5bf4e2d6d62.tar.zst
marcuscom-ports-5df36f0c06a5ce8305d67aee7979a5bf4e2d6d62.zip
-USE_X_PREFIX -> USE_XLIB.
-Add gnomeprefix. -Bump the PORTREVISION. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7402 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net-mgmt/etherape/files')
-rw-r--r--net-mgmt/etherape/files/patch-capture.c20
-rw-r--r--net-mgmt/etherape/files/patch-resolv.c11
-rw-r--r--net-mgmt/etherape/files/patch-thread_resolve.c23
3 files changed, 54 insertions, 0 deletions
diff --git a/net-mgmt/etherape/files/patch-capture.c b/net-mgmt/etherape/files/patch-capture.c
new file mode 100644
index 000000000..4a7a0a44e
--- /dev/null
+++ b/net-mgmt/etherape/files/patch-capture.c
@@ -0,0 +1,20 @@
+--- src/capture.c.orig Sat Apr 29 09:58:35 2006
++++ src/capture.c Mon May 29 01:14:23 2006
+@@ -464,10 +464,13 @@
+ return FALSE;
+ }
+
+- /* preparing protocol summary and nodes/links catalogs */
+- protocol_summary_open();
+- nodes_catalog_open();
+- links_catalog_open();
++ if (status != PAUSE)
++ {
++ /* preparing protocol summary and nodes/links catalogs */
++ protocol_summary_open();
++ nodes_catalog_open();
++ links_catalog_open();
++ }
+
+ /*
+ * See pause_capture for an explanation of why we don't always
diff --git a/net-mgmt/etherape/files/patch-resolv.c b/net-mgmt/etherape/files/patch-resolv.c
new file mode 100644
index 000000000..4e062d403
--- /dev/null
+++ b/net-mgmt/etherape/files/patch-resolv.c
@@ -0,0 +1,11 @@
+--- src/resolv.c.orig Sat Apr 29 09:58:35 2006
++++ src/resolv.c Mon May 29 00:54:06 2006
+@@ -500,7 +500,7 @@
+ */
+ if (g_pethers_path == NULL)
+ {
+- g_strdup_printf (g_pethers_path, "%s/%s",
++ g_pethers_path = g_strdup_printf ("%s/%s",
+ get_home_dir (), EPATH_PERSONAL_ETHERS);
+ }
+
diff --git a/net-mgmt/etherape/files/patch-thread_resolve.c b/net-mgmt/etherape/files/patch-thread_resolve.c
new file mode 100644
index 000000000..dd20e557e
--- /dev/null
+++ b/net-mgmt/etherape/files/patch-thread_resolve.c
@@ -0,0 +1,23 @@
+--- src/thread_resolve.c.orig Tue Apr 25 09:08:28 2006
++++ src/thread_resolve.c Mon May 29 00:37:45 2006
+@@ -167,6 +167,10 @@
+
+ pthread_mutex_unlock(&resolvemtx);
+ }
++
++ /* close mutex */
++ close_mutex();
++
+ return NULL;
+ }
+
+@@ -268,9 +272,6 @@
+ {
+ /* thread pool shutdown */
+ stop_threads();
+-
+- /* close mutex */
+- close_mutex();
+ }
+
+ /* returns 1 if the current dns implementation has a socket wich needs a select() */