summaryrefslogtreecommitdiff
path: root/audio/libao/patches/patch-ac
blob: 517e79c2798c5112d94098b9e22c49c47866ac51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ac,v 1.1.1.1 2001/03/15 20:35:58 wiz Exp $

--- ../libao-0.6.0.orig/src/audio_out.c	Fri Feb 23 17:31:46 2001
+++ src/audio_out.c	Thu Mar 15 10:21:55 2001
@@ -63,7 +63,7 @@
 	driver_tree_t *dt;
 	void *handle;
 	
-	handle = dlopen(plugin_file, RTLD_NOW);
+	handle = dlopen(plugin_file, DL_LAZY);
 	if (handle) {
 		dt = (driver_tree_t *)malloc(sizeof(driver_tree_t));
 		if (!dt) return NULL;