summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-02-27 02:36:34 +0000
committerMike Frysinger <vapier@gentoo.org>2003-02-27 02:36:34 +0000
commit4818c9a353916bcc8b2a87472deb6647ed1f6ea4 (patch)
treece79d2b882abaf911c010d59b0d3f564ae37fd72 /net-misc/icecast/files
parentfixed SRC_URI and DEPEND problems (diff)
downloadgentoo-2-4818c9a353916bcc8b2a87472deb6647ed1f6ea4.tar.gz
gentoo-2-4818c9a353916bcc8b2a87472deb6647ed1f6ea4.tar.bz2
gentoo-2-4818c9a353916bcc8b2a87472deb6647ed1f6ea4.zip
Added patch to fix new glibc errno issues #16370 (#16267)
Diffstat (limited to 'net-misc/icecast/files')
-rw-r--r--net-misc/icecast/files/1.3.12-errno.patch68
1 files changed, 68 insertions, 0 deletions
diff --git a/net-misc/icecast/files/1.3.12-errno.patch b/net-misc/icecast/files/1.3.12-errno.patch
new file mode 100644
index 000000000000..44c7af6fbfd7
--- /dev/null
+++ b/net-misc/icecast/files/1.3.12-errno.patch
@@ -0,0 +1,68 @@
+--- src/commands.c.orig 2003-02-26 21:24:19.000000000 -0500
++++ src/commands.c 2003-02-26 21:24:52.000000000 -0500
+@@ -85,7 +85,7 @@
+
+ #include <time.h>
+
+-extern int errno;
++#include <errno.h>
+ extern int running;
+ extern server_info_t info;
+ extern mutex_t library_mutex;
+--- src/ice_resolv.c.orig 2003-02-26 21:24:26.000000000 -0500
++++ src/ice_resolv.c 2003-02-26 21:25:10.000000000 -0500
+@@ -81,7 +81,7 @@
+ #ifdef _WIN32
+ extern int running;
+ #else
+-extern int h_errno, errno, running;
++#include <errno.h>
+ #endif
+
+ extern server_info_t info;
+--- src/log.c.orig 2003-02-26 21:24:30.000000000 -0500
++++ src/log.c 2003-02-26 21:26:33.000000000 -0500
+@@ -72,7 +72,8 @@
+ #include "authenticate/basic.h"
+ #include "authenticate/user.h"
+
+-extern int errno, running;
++#include <errno.h>
++extern int running;
+ extern server_info_t info;
+
+ void
+--- src/main.c.orig 2003-02-26 21:24:34.000000000 -0500
++++ src/main.c 2003-02-26 21:25:41.000000000 -0500
+@@ -97,7 +97,7 @@
+ #endif
+
+ /* We need this for perror and for various sanity checks */
+-extern int errno;
++#include <errno.h>
+
+ /* Importing a tree and mutex from sock.c */
+ extern avl_tree *sock_sockets;
+--- src/sock.c.orig 2003-02-26 21:24:37.000000000 -0500
++++ src/sock.c 2003-02-26 21:26:53.000000000 -0500
+@@ -87,7 +87,8 @@
+ #define read _read
+ extern int running;
+ #else
+-extern int h_errno, errno, running;
++#include <errno.h>
++extern int running;
+ #endif
+ extern server_info_t info;
+ extern struct in_addr localaddr;
+--- src/timer.c.orig 2003-02-26 21:24:40.000000000 -0500
++++ src/timer.c 2003-02-26 21:27:05.000000000 -0500
+@@ -79,7 +79,7 @@
+ #define MSG_DONTWAIT 0
+ #endif
+
+-extern int errno;
++#include <errno.h>
+ extern int running;
+ extern server_info_t info;
+