pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/bmp Add a workaround for PR pkg/26846 (fix a cra...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cd37a061b1a5
branches:  trunk
changeset: 483543:cd37a061b1a5
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Sun Nov 14 19:26:08 2004 +0000

description:
Add a workaround for PR pkg/26846 (fix a crash during bmp's shutdown).
A detailed analisys of the problem can be found in the report.
Bump PKGREVISION to 4.

diffstat:

 audio/bmp/Makefile |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 9d6cf008d687 -r cd37a061b1a5 audio/bmp/Makefile
--- a/audio/bmp/Makefile        Sun Nov 14 17:02:35 2004 +0000
+++ b/audio/bmp/Makefile        Sun Nov 14 19:26:08 2004 +0000
@@ -1,14 +1,21 @@
-# $NetBSD: Makefile,v 1.7 2004/10/03 00:13:05 tv Exp $
+# $NetBSD: Makefile,v 1.8 2004/11/14 19:26:08 jmmv Exp $
 #
 
 .include "Makefile.common"
 
-PKGREVISION=           3
+PKGREVISION=           4
 
 CONFIGURE_ARGS:=       ${CONFIGURE_ARGS:S/--disable-mp3/--enable-mp3/}
 CONFIGURE_ARGS:=       ${CONFIGURE_ARGS:S/--disable-oss/--enable-oss/}
 CONFIGURE_ARGS:=       ${CONFIGURE_ARGS:S/--disable-vorbis/--enable-vorbis/}
 
+# XXX Workaround a crash during shutdown that happens when dlclose(3)ing
+# any open plugin.  libstdc++ gets dynamically linked in when the id3lib
+# library is loaded, and is the one causing problems.  See PR pkg/26846
+# for more information.
+USE_LANGUAGES=         c c++
+LDFLAGS.NetBSD=                -lstdc++ -lm
+
 .include "../../audio/id3lib/buildlink3.mk"
 .include "../../audio/libvorbis/buildlink3.mk"
 .include "../../multimedia/libogg/buildlink3.mk"



Home | Main Index | Thread Index | Old Index