openbsd-ports/net/avahi/patches/patch-common_acx_pthread_m4
ajacoutot 69617070fa Import avahi-0.6.25
Avahi is a free, standards-compliant implementation of the Zeroconf
protocols Multicast DNS and DNS-SD.
It is a system which facilitates service discovery on a local network.
This means that you can plug your laptop or computer into a network and
instantly be able to view other people who you can chat with, find
printers to print to or find files being shared.  This kind of
technology is already found in Apple MacOS X (branded Rendezvous,
Bonjour and sometimes Zeroconf) and is very convenient.

Completely reworked from an old submission from jasper@
Based on FreeBSD and pkgsrc.

Some successful test from marco@, thanks ;-)

It will probably need a bit more love in the next few days.
ok landry@ jasper@
2009-06-03 16:27:12 +00:00

13 lines
629 B
Plaintext

$OpenBSD: patch-common_acx_pthread_m4,v 1.1.1.1 2009/06/03 16:27:12 ajacoutot Exp $
--- common/acx_pthread.m4.orig Sun May 31 17:35:34 2009
+++ common/acx_pthread.m4 Sun May 31 17:35:49 2009
@@ -260,7 +260,7 @@ if test "x$acx_pthread_ok" = xyes; then
# FIXME: -fPIC is required for -shared on many architectures,
# so we specify it here, but the right way would probably be to
# properly detect whether it is actually required.
- CFLAGS="-shared -fPIC -Wl,-z,defs $CFLAGS $PTHREAD_CFLAGS"
+ CFLAGS="-shared -fPIC $CFLAGS $PTHREAD_CFLAGS"
LIBS="$PTHREAD_LIBS $LIBS"
CC="$PTHREAD_CC"