summaryrefslogtreecommitdiff
path: root/net/udpcast/patches/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'net/udpcast/patches/patch-ag')
-rw-r--r--net/udpcast/patches/patch-ag14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/udpcast/patches/patch-ag b/net/udpcast/patches/patch-ag
new file mode 100644
index 00000000000..3f9d6f197ce
--- /dev/null
+++ b/net/udpcast/patches/patch-ag
@@ -0,0 +1,14 @@
+$NetBSD: patch-ag,v 1.1 2006/08/22 15:52:16 joerg Exp $
+
+--- sender-diskio.c.orig 2006-08-22 17:45:14.000000000 +0000
++++ sender-diskio.c
+@@ -26,9 +26,6 @@ int openFile(struct disk_config *config)
+ if(config->fileName != NULL) {
+ int in = open(config->fileName, O_RDONLY | O_BINARY, 0);
+ if (in < 0) {
+-#ifdef NO_BB
+- extern int errno;
+-#endif
+ udpc_fatal(1, "Could not open file %s: %s\n", config->fileName,
+ strerror(errno));
+ }