uuid/uuid.patch

Wed, 29 Aug 2012 21:07:12 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 29 Aug 2012 21:07:12 +0200
changeset 649
c44c510c1c7f
permissions
-rw-r--r--

Back out libexec substitution now longer correct, remove manpages correspoding
to not installed binaries, and most importantly avoid linking to
cats_dummy which serves no other purpose than to sabotage runtime
operations of all binaries calling db_init_database(3) with a fatal
error message 'Please replace this dummy libbaccats library with a
proper one.' Disabling libtool use resolves this problem in the build
configuration (probably in src/cats/Makefile.in.)

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

mercurial