[Pkg-voip-commits] r7458 - /asterisk/trunk/debian/patches/h323-workaround-openh323-segfault
paravoid at alioth.debian.org
paravoid at alioth.debian.org
Mon Jul 27 19:27:52 UTC 2009
Author: paravoid
Date: Mon Jul 27 19:27:50 2009
New Revision: 7458
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=7458
Log:
Fix the h323 workaround patch to actually build
Modified:
asterisk/trunk/debian/patches/h323-workaround-openh323-segfault
Modified: asterisk/trunk/debian/patches/h323-workaround-openh323-segfault
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk/trunk/debian/patches/h323-workaround-openh323-segfault?rev=7458&op=diff
==============================================================================
--- asterisk/trunk/debian/patches/h323-workaround-openh323-segfault (original)
+++ asterisk/trunk/debian/patches/h323-workaround-openh323-segfault Mon Jul 27 19:27:50 2009
@@ -21,8 +21,8 @@
+ /* libopenh323 is buggy and segfaults on dlclose() when opened with
+ * RTLD_LAZY. Workaround this until it gets fixed */
-+ if (!strcasecmp(resource, "chan_h323.so") ||
-+ !strcasecmp(resource, "chan_oh323.so"))
++ if (!strcasecmp(resource_being_loaded->resource, "chan_h323.so") ||
++ !strcasecmp(resource_being_loaded->resource, "chan_oh323.so"))
+ lib = dlopen(fn, RTLD_NOW | RTLD_LOCAL);
+
if (!(lib = dlopen(fn, RTLD_LAZY | RTLD_LOCAL))) {
More information about the Pkg-voip-commits
mailing list