Sat, 01 Sep 2012 12:17:10 +0200
Back out attempt to repair gets(3) redefinition and correct rather by
avoiding detection of gets(3) as a method with no macro, otherwise
leading to definition of HAVE_RAW_DECL_GETS and redefition of gets(3)
in lib/stdio.h(.in) caused by 'a split double-inclusion guard' and
a seemingly multiple '#include_next <stdio.h>' reference. Quatch.
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 | ); |