pkgsrc/x11/p5-Tk/patches/patch-aa
wiz 4043a3986a Update to 804.033:
Tk-804.033 release (2015-02-21)
------------------

Tests
 New t/pod.t test (github pull request #16)

Tk-804.032_501 release (2015-01-31)
----------------------

Fixes
 Teach perl/Tk where OS X Yosemite Xquartz puts the X11 files
 (github pull request #12)

 Pushstack experiment to workaround crashes with perl 5.20.x and XFT=0
 (RT #96543)

 Tk::Text: don't insert ctrl and meta key presses
 (github issue #9)

 Fix memory leak in canvas text item handling with XFT=1
 (RT #100211)

 Use public version of Perl_utf8_hop (RT #100878)

 FixBuggyUTF8String is not called anymore for new perls

Improvements
 Use Cwd::getcwd() instead of Cwd::cwd() (performance improvement)

Tests
 t/font.t does not fail with only one font family installed
 (RT #99411)

 unicode.t - update textwidget before examining new state
 (RT #100153)

 Compatibility with old Test::More versions without note() and isa_ok
 class check

 Workaround for core dumps in some fork-using tests (RT #100399)

 Workaround for more timing problems in wm-tcl.h

Tk-804.032_500 release (2014-11-06)
----------------------

Fixes
 Freetype header files may now be in /usr/include/freetype2/freetype.h
 in newer freetype installations (e.g. Debian/jessie).
 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740207

 Tk::MainWindow::Create without args used to segfault.

 Fix X11 discovery on non-x86_64 platforms (RT #95590).

 Fix new sprintf warning with perl 5.21.x.

 Workaround behaviour change in ExtUtils::MakeMaker 6.99_10 (PERL
 value is now quoted), which caused build failures (RT #100044).

Tests
 Fix race condition in t/errordialog.t

 t/create.t uses Test::More

 Remove useless hostname and getlogin retrieval in t/fileevent.t
 (RT #98889).

 Use pipe instead of stdin in t/fileevent2.t (RT #98891).

 Fix font-related issues with t/entry.t (RT #98831).

Documentation
 New Pod ErrorDialog.pod (github pull request #6).
2015-03-04 08:55:35 +00:00

19 lines
702 B
Text

$NetBSD: patch-aa,v 1.6 2015/03/04 08:55:35 wiz Exp $
--- Tk/MMutil.pm.orig 2013-11-15 23:50:03.000000000 +0000
+++ Tk/MMutil.pm
@@ -313,10 +309,13 @@ sub const_config
# }
$self->{'LDFLAGS'} =~ s/-flat_namespace//;
$self->{'LDFLAGS'} =~ s/-undefined\s+suppress//;
- } elsif ($^O =~ /(openbsd)/i)
+ } elsif ($^O =~ /(.*bsd)/i)
{
# -Bforcearchive is bad news for Tk - we don't want all of libpTk.a in all .so-s.
$self->{'LDDLFLAGS'} =~ s/-Bforcearchive\s*//g;
+ } elsif ($^O =~ /(.*dragonfly)/i) {
+ # -Bforcearchive is bad news for Tk - we don't want all of libpTk.a in all .so-s.
+ $self->{'LDDLFLAGS'} =~ s/-Bforcearchive\s*//g;
}
return $self->MM::const_config;
}