openbsd-ports/net/libshout/patches/patch-src_thread_thread_c
sturm aaeb6284b2 Initial import of libshout 2.0
Libshout is a library for communicating with and sending data to an
icecast server. It handles the socket connection, the timing of the
data, and prevents bad data from getting to the icecast server.

With just a few lines of code, a programmer can easily turn any
application into a streaming source for an icecast server. Libshout
also allows developers who want a specific feature set (database
access, request taking) to concentrate on that feature set, instead of
worrying about how server communication works.

from Moritz Grimm <gtgbr@gmx.net>, cleanup and patches from me

WWW:  http://www.icecast.org/
2003-07-26 11:38:50 +00:00

13 lines
464 B
Plaintext

$OpenBSD: patch-src_thread_thread_c,v 1.1.1.1 2003/07/26 11:38:50 sturm Exp $
--- src/thread/thread.c.orig 2003-07-26 09:11:53.000000000 +0200
+++ src/thread/thread.c 2003-07-26 09:14:07.000000000 +0200
@@ -548,7 +548,7 @@ void thread_rwlock_unlock_c(rwlock_t *rw
pthread_rwlock_unlock(&rwlock->sys_rwlock);
}
-void thread_exit_c(int val, int line, char *file)
+void thread_exit_c(long val, int line, char *file)
{
thread_type *th = thread_self();