-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- USE_LIBTOOL (no .la files installed)
- Add patch to preload libstdc++ (LD_PRELOAD no longer needed) [1] - Bump PORTREVISION Suggested by: kan [1]
- Loading branch information
Max Khon
authored and
Max Khon
committed
Feb 4, 2004
1 parent
48176ee
commit 39c6a7d
Showing
5 changed files
with
27 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- init.c.orig Fri Sep 1 10:35:03 2000 | ||
+++ init.c Thu Feb 5 02:53:58 2004 | ||
@@ -20,6 +20,7 @@ | ||
*/ | ||
|
||
#include "artsout.h" | ||
+#include <dlfcn.h> | ||
|
||
aRtsConfig arts_cfg; | ||
|
||
@@ -39,4 +40,14 @@ | ||
xmms_cfg_read_int(cfgfile, "aRts", "prebuffer", &arts_cfg.prebuffer); | ||
xmms_cfg_free(cfgfile); | ||
} | ||
+ | ||
+ /* | ||
+ * This is a hack to prevent unloading of libstdc++ | ||
+ * (required by arts libraries) in arts_free() but before | ||
+ * this thread is terminated. libstdc++ registers thread cleanup | ||
+ * handler and xmms crashes when this cleanup function is called | ||
+ * on thread termination. | ||
+ */ | ||
+ if (dlopen("libstdc++.so", RTLD_NOW | RTLD_GLOBAL) == NULL) | ||
+ fprintf(stderr, "Failed to preload libstdc++.so\n"); | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
lib/xmms/Output/libartsout.a | ||
lib/xmms/Output/libartsout.la | ||
lib/xmms/Output/libartsout.so | ||
lib/xmms/Output/libartsout.so.0 |