From 9f95a86467a0020336d62ab1c5e964c9920a4d08 Mon Sep 17 00:00:00 2001 From: kurt Date: Mon, 28 Nov 2005 16:09:52 +0000 Subject: [PATCH] allow port to use RTLD_NOW now that it is supported. okay wcobb@ --- audio/soundtracker/Makefile | 3 ++- .../patches/patch-app_sample_editor_c | 15 +++------------ 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/audio/soundtracker/Makefile b/audio/soundtracker/Makefile index 4cc6b271de0..2bbdfc94dd6 100644 --- a/audio/soundtracker/Makefile +++ b/audio/soundtracker/Makefile @@ -1,10 +1,11 @@ -# $OpenBSD: Makefile,v 1.10 2005/11/03 18:28:55 naddy Exp $ +# $OpenBSD: Makefile,v 1.11 2005/11/28 16:09:52 kurt Exp $ # Uses pthreads COMMENT= "Music tracking tool for X11" VERSION= 0.6.6 DISTNAME= soundtracker-${VERSION} +PKGNAME= ${DISTNAME}p0 CATEGORIES= audio HOMEPAGE= http://www.soundtracker.org/ diff --git a/audio/soundtracker/patches/patch-app_sample_editor_c b/audio/soundtracker/patches/patch-app_sample_editor_c index 8fbeef04a79..ced163bae44 100644 --- a/audio/soundtracker/patches/patch-app_sample_editor_c +++ b/audio/soundtracker/patches/patch-app_sample_editor_c @@ -1,6 +1,6 @@ -$OpenBSD: patch-app_sample_editor_c,v 1.3 2002/07/30 06:51:15 wcobb Exp $ ---- app/sample-editor.c.orig Thu May 16 11:55:24 2002 -+++ app/sample-editor.c Tue Jul 30 02:53:03 2002 +$OpenBSD: patch-app_sample_editor_c,v 1.4 2005/11/28 16:09:52 kurt Exp $ +--- app/sample-editor.c.orig Thu May 16 10:55:24 2002 ++++ app/sample-editor.c Thu Nov 3 14:23:10 2005 @@ -186,7 +186,7 @@ static void sample_editor_reverse_clicke static void sample_editor_lock_sample (void) @@ -19,15 +19,6 @@ $OpenBSD: patch-app_sample_editor_c,v 1.3 2002/07/30 06:51:15 wcobb Exp $ } void -@@ -465,7 +465,7 @@ sample_editor_page_create (GtkNotebook * - #if !defined(NO_AUDIOFILE) && HAVE_DLFCN_H - { // hack, hack - void *handle, *function; -- handle = dlopen(NULL, RTLD_NOW); -+ handle = dlopen(NULL, DL_LAZY); - function = dlsym(handle, "afSetVirtualPCMMapping"); - if(function == NULL) { - libaf2 = FALSE; @@ -2038,7 +2038,7 @@ static void sample_editor_lrvol (GtkWidget *widget, gpointer data)