generalise the linker flags used to export symbols by setting them on
a per-OS basis.
> many packages force -Wl,-export-dynamic which is not portable outside GNU ld
> and cause problems e.g. on Solaris. some of these packages use if
> conditionals either only for NetBSD or except SunOS, but the state is not
> coherent and it may complicate later when support for new OS is added to
> pkgsrc (e.g. ongoing work on HP-UX support).
>
> jlam proposed the following framework in discussion on tech-pkg:
>
> http://mail-index.netbsd.org/tech-pkg/2002/06/21/0009.html
>
> now, ${EXPORT_SYMBOLS_LDFLAGS} is used instead of directly defining
> -Wl,-export-dynamic which is set in appropriate defs.*.mk to reasonable
> values. packages should be converted to this framework by:
>
> 1) replacing LDFLAGS+= -Wl,-export-dynamic and LIBS+= -export-dynamic with:
>
> LDFLAGS+= ${EXPORT_SYMBOLS_LDFLAGS}
>
> 2) for use in patchfiles, add this variable to MAKE_ENV if needed:
>
> MAKE_ENV+= EXPORT_SYMBOLS_LDFLAGS=${EXPORT_SYMBOLS_LDFLAGS}
>
> 3) replace occurances of -Wl,-export-dynamic and -export-dynamic in patch
> files with:
>
> $(EXPORT_SYMBOLS_LDFLAGS)
While I'm here do the a.out dance for kuickshow and a couple of other
minor clean ups.
Changes are:
kdelibs
kprocess / kprocctrl: fix problem with hanging kdevelop.
Javascript (core): more robust stack overflow check
Javascript (html): allow to set a JS (non-CSS) property to a style object
Javascript (html): improved result of navigator.platform using uname()
Javascript (html): more aggressive garbage collection on clear, fixing many
crashes
Javascript (html): global object (window) has a correct object prototype now
khtml: several crashes and bugs fixed
kssl: Always verify the basic constraints on certificates (SECURITY)
kdefx: Make the blending routine used by transparent menus work properly on
big-endian platforms
kdeui: Fix KDialog::setPlainCaption()
kdebase
Build fixes for IRIX / MipsPro (kcontrol, konqueror, konsole).
Kicker: Quick browser escapes ampersand characters in file names.
Konsole: Don't prepend ESC if Meta is pressed if key definition is for "+Alt".
Konsole: Fixed crashes at startup related to broken font installations.
Konsole: Fixed crashes when selecting in history buffer.
krdb: Smarter handling of multiple and symlinked KDE and Qt installs when
exporting plugin path to Qt.
kdenetwork
KMail: allow an ampersand as last char of an URL.
KMail: Don't crash when custom drafts or sent-mail folders have been deleted or
renamed.
KMail: Fix auto charset detection for empty strings.
KMail/KNode: Correctly handle quotes in user ids of OpenPGP keys.
KMail: Make custom (global) Bcc headers work correctly with encryption and
distribution list expansion.
kdepim
KAlarm: Fix session restoration often not occurring at login.
KAlarm: Adjust wrong summer times stored by KDE 3.0.0 version of KAlarm.
KAlarm: Make Close button on message window not the default button to reduce
chance of accidental acknowledgement.
KAlarm: Make Help button in configuration dialog display KAlarm handbook.
KNotes: Compile fix for Qt 3.0.5
KOrganizer: Fixed context menu of todo list/view and event list which
disappeared when using Qt 3.0.5
Also, allow the arts SSE detection code to run on modern NetBSD systems.
Changes are:
arts
Again Build fixes.
Realtime priority configuration fix
kdelibs
dcop: Make it possible to disable the Qt bridge.
make sure tooltip effects can be configured.
kbuildsycoca: avoid crash on unreadable directories.
kdockwidget: fixing reading of configuration.
kedittoolbar: fix leak.
khtml: many fixes.
kded: signal handling fixes.
kio-http slave: fixes related to form posts and cache handling.
kjs: added max recursion limit.
kjs: leak and compatibility fixes.
kdebase
kicker: &-escaping fix
audiocd: fix cddb computation
thumbnail previewer: calculate the number of bytes to read instead
of hardcoding it.