summaryrefslogtreecommitdiff
path: root/devel/opal
diff options
context:
space:
mode:
authorjmcneill <jmcneill@pkgsrc.org>2008-10-25 18:15:04 +0000
committerjmcneill <jmcneill@pkgsrc.org>2008-10-25 18:15:04 +0000
commitdf8ac8e82c89705bd483bcae8c905eff50746790 (patch)
tree8494587c15efc8ec2d755ca0d2b169aa27508d32 /devel/opal
parent1bc04e1e680fef2a87ccc6719d9f3c65858aa739 (diff)
downloadpkgsrc-df8ac8e82c89705bd483bcae8c905eff50746790.tar.gz
No longer required.
Diffstat (limited to 'devel/opal')
-rw-r--r--devel/opal/patches/patch-ac33
-rw-r--r--devel/opal/patches/patch-ad12
2 files changed, 0 insertions, 45 deletions
diff --git a/devel/opal/patches/patch-ac b/devel/opal/patches/patch-ac
deleted file mode 100644
index 5151debcac0..00000000000
--- a/devel/opal/patches/patch-ac
+++ /dev/null
@@ -1,33 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2008/09/29 01:28:50 jmcneill Exp $
-
---- plugins/video/common/dyna.cxx.orig 2008-09-28 20:48:56.000000000 -0400
-+++ plugins/video/common/dyna.cxx
-@@ -89,6 +89,7 @@ bool DynaLink::InternalOpen(const char *
- #else
- WITH_ALIGNED_STACK({ // must be called before using avcodec lib
- _hDLL = dlopen((const char *)path, RTLD_NOW);
-+ _hDLLutil = dlopen("libavutil.so", RTLD_NOW);
- });
- #endif /* _WIN32 */
-
-@@ -119,8 +120,10 @@ void DynaLink::Close()
- FreeLibrary(_hDLL);
- #else
- dlclose(_hDLL);
-+ if (_hDLLutil)
-+ dlclose(_hDLLutil);
- #endif /* _WIN32 */
-- _hDLL = NULL;
-+ _hDLL = _hDLLutil = NULL;
- }
- }
-
-@@ -143,6 +146,8 @@ bool DynaLink::GetFunction(const char *
- return true;
- #else
- void * p = dlsym(_hDLL, (const char *)name);
-+ if (p == NULL && _hDLLutil != NULL)
-+ p = dlsym(_hDLLutil, (const char *)name);
- if (p == NULL) {
- TRACE(1, _codecString << "\tDYNA\tError " << dlerror());
- return false;
diff --git a/devel/opal/patches/patch-ad b/devel/opal/patches/patch-ad
deleted file mode 100644
index f4f27ba7b3e..00000000000
--- a/devel/opal/patches/patch-ad
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-ad,v 1.1 2008/09/29 01:28:50 jmcneill Exp $
-
---- plugins/video/common/dyna.h.orig 2008-09-28 20:48:27.000000000 -0400
-+++ plugins/video/common/dyna.h
-@@ -137,6 +137,7 @@ class DynaLink
- HINSTANCE _hDLL;
- #else
- void * _hDLL;
-+ void * _hDLLutil;
- #endif /* _WIN32 */
- CodecID _codec;
- char _codecString [32];