summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dialup/capifwd/files/capifwd-0.6.3.patch')
-rw-r--r--net-dialup/capifwd/files/capifwd-0.6.3.patch42
1 files changed, 0 insertions, 42 deletions
diff --git a/net-dialup/capifwd/files/capifwd-0.6.3.patch b/net-dialup/capifwd/files/capifwd-0.6.3.patch
deleted file mode 100644
index 66efa7c07cd0..000000000000
--- a/net-dialup/capifwd/files/capifwd-0.6.3.patch
+++ /dev/null
@@ -1,42 +0,0 @@
---- src/config/cmdline.c.orig 2002-12-29 16:41:02.000000000 +0100
-+++ src/config/cmdline.c 2004-11-20 02:01:38.821706921 +0100
-@@ -57,17 +57,17 @@
- else if ( !strcmp("-v",argv[i]) || !strcmp("-h",argv[1]) ||
- !strcmp("--version", argv[1]) || !strcmp("--help", argv[i]) )
- {
-- printf("
--%s version %s
--Copyright (C) 2002: F. Lindenberg, A. Szalkowski
--Usage:
--\t%s [options]\n\n Where options is one of:
---h --help or
---v --version\tprint this info and quit.
---f --file\tdefine the configuration file (makes no
--\t\tsense without config file support).
---p --port\tdefine the port number.
--", _progname_long, _version, argv[0]);
-+ printf(
-+"%s version %s\n"
-+"Copyright (C) 2002: F. Lindenberg, A. Szalkowski\n"
-+"Usage:\n"
-+"\t%s [options]\n\n Where options is one of:\n"
-+"-h --help or\n"
-+"-v --version\tprint this info and quit.\n"
-+"-f --file\tdefine the configuration file (makes no\n"
-+"\t\tsense without config file support).\n"
-+"-p --port\tdefine the port number.\n\n",
-+_progname_long, _version, argv[0]);
- exit ( 0 );
- }
-
---- src/capifwd.c.orig 2006-09-23 10:39:30.000000000 +0300
-+++ src/capifwd.c 2006-09-23 10:41:32.836443500 +0300
-@@ -13,7 +13,7 @@
- ssize_t n = recv(fd, buf, left, 0);
- if (n <= 0)
- return n;
-- (char*)buf += n;
-+ buf = (char*)buf + n;
- left -= n;
- }
- return size;