uuid/uuid.patch

Wed, 08 Feb 2012 20:07:00 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 08 Feb 2012 20:07:00 +0200
changeset 588
300d43423c2e
permissions
-rw-r--r--

Update version, adapt patch, correct PID writing, correct build on newer
FreeBSD releases, and most importantly introduce new patch to try to
avoid segfault caused by multiple network interfaces with the same (or
no) address. This is common when configuring bridges and tunnels.

michael@559 1 Index: perl/Makefile.PL
michael@559 2 --- perl/Makefile.PL.orig 2007-01-01 19:13:18 +0100
michael@559 3 +++ perl/Makefile.PL 2008-07-17 09:58:04 +0200
michael@559 4 @@ -61,7 +61,7 @@
michael@559 5 NO_META => 1,
michael@559 6 # cruel hack to workaround the conflict between OSSP uuid's
michael@559 7 # uuid_create() function and one from FreeBSD's libc
michael@559 8 - (( "$Config{'osname'}$Config{'osvers'}" =~ m/^freebsd[56]\./
michael@559 9 + (( "$Config{'osname'}$Config{'osvers'}" =~ m/^freebsd[5-8]\./
michael@559 10 and $Config{'ld'} =~ m/cc$/ and -f "/usr/include/uuid.h") ?
michael@559 11 ( LDDLFLAGS => $Config{'lddlflags'} . ' -Wl,-Bsymbolic') : ())
michael@559 12 );

mercurial