pkgsrc/multimedia/kdemultimedia3/patches/patch-ai
joerg 9037217dd0 Rework broken thread detection:
- try libpthread
- fallback to ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
Run the check only once, to avoid the second run overwriting the results
of the first.

Add DragonFly support. Fix errno.
2006-01-20 03:51:25 +00:00

17 lines
400 B
Text

$NetBSD: patch-ai,v 1.1 2006/01/20 03:51:25 joerg Exp $
--- mpg123_artsplugin/mpg123/httpget.c.orig 2005-11-15 11:21:01.000000000 +0000
+++ mpg123_artsplugin/mpg123/httpget.c
@@ -18,11 +18,9 @@
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
-#include <sys/errno.h>
+#include <errno.h>
#include <ctype.h>
-extern int errno;
-
#include "mpg123.h"
#ifndef INADDR_NONE