allow port to use RTLD_NOW now that it is supported. okay wcobb@

This commit is contained in:
kurt 2005-11-28 16:09:52 +00:00
parent fec623affd
commit 9f95a86467
2 changed files with 5 additions and 13 deletions

View File

@ -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/

View File

@ -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)