summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-12-17 19:14:59 +0000
committerwiz <wiz@pkgsrc.org>2002-12-17 19:14:59 +0000
commit1be0244c4749ede890fd27473e1a98aecbbfae54 (patch)
tree7e3ad7a86385057e6000ad8feaa2d8be4111adff /net
parent572ce946e5f2e2a79a2d81af4092cabc3ac95632 (diff)
downloadpkgsrc-1be0244c4749ede890fd27473e1a98aecbbfae54.tar.gz
Included in 0.66.
Diffstat (limited to 'net')
-rw-r--r--net/dc_gui/patches/patch-ae36
-rw-r--r--net/dc_gui/patches/patch-ag28
2 files changed, 0 insertions, 64 deletions
diff --git a/net/dc_gui/patches/patch-ae b/net/dc_gui/patches/patch-ae
deleted file mode 100644
index 6d9510171fc..00000000000
--- a/net/dc_gui/patches/patch-ae
+++ /dev/null
@@ -1,36 +0,0 @@
-$NetBSD: patch-ae,v 1.1.1.1 2002/09/11 20:47:14 wiz Exp $
-
---- src/do_connect.c.orig Wed Aug 14 16:05:09 2002
-+++ src/do_connect.c
-@@ -200,11 +200,11 @@ void update_dl_clist_size(GtkCList *clst
-
- if(spd<1024.0)
- {
-- sprintf(buf+strlen(buf)," %.2lfB/s",spd);
-+ sprintf(buf+strlen(buf)," %.2fB/s",spd);
- }
- else if(spd<(1024.0*1024.0))
- {
-- sprintf(buf+strlen(buf)," %.2lfKB/s",spd/1024.0);
-+ sprintf(buf+strlen(buf)," %.2fKB/s",spd/1024.0);
- }
- }
-
-@@ -722,7 +722,7 @@ void start_a_new_dctc(char *hub_address,
-
- g_ptr_array_add(cmd_line,g_string_chunk_insert(sc,"-o"));
-
-- sprintf(bf,"%.0lf",value);
-+ sprintf(bf,"%.0f",value);
- g_ptr_array_add(cmd_line,g_string_chunk_insert(sc,bf));
- }
- }
-@@ -1160,7 +1160,7 @@ void start_a_new_dctc(char *hub_address,
-
- g_ptr_array_add(cmd_line,g_string_chunk_insert(sc,"-o"));
-
-- sprintf(bf,"%.0lf",value);
-+ sprintf(bf,"%.0f",value);
- g_ptr_array_add(cmd_line,g_string_chunk_insert(sc,bf));
- }
- }
diff --git a/net/dc_gui/patches/patch-ag b/net/dc_gui/patches/patch-ag
deleted file mode 100644
index bdfd8b17f9c..00000000000
--- a/net/dc_gui/patches/patch-ag
+++ /dev/null
@@ -1,28 +0,0 @@
-$NetBSD: patch-ag,v 1.3 2002/11/03 21:32:26 wiz Exp $
-
---- src/main.c.orig Fri Oct 11 17:45:44 2002
-+++ src/main.c
-@@ -372,6 +372,23 @@ main (int argc, char *argv[])
-
- dctc_dir=g_string_new(NULL);
- g_string_sprintf(dctc_dir,"%s/running",dctc_main_dir->str);
-+ if(access(dctc_dir->str,R_OK|W_OK|X_OK))
-+ {
-+ if(errno==ENOENT)
-+ {
-+ if(mkdir(dctc_dir->str,0777))
-+ {
-+ perror("mkdir");
-+ fprintf(stderr,"Unable to create %s, abort.\n",dctc_dir->str);
-+ exit(1);
-+ }
-+ }
-+ else
-+ {
-+ fprintf(stderr,"You have no access rights on %s, abort.\n",dctc_dir->str);
-+ exit(1);
-+ }
-+ }
- dctc_active_client_file=g_string_new(NULL);
- g_string_sprintf(dctc_active_client_file,"%s/gstatus",dctc_main_dir->str);
-