diff options
author | Ctibor <ctibor.brancik@seznam.cz> | 2015-01-31 17:40:18 +0100 |
---|---|---|
committer | Ctibor <ctibor.brancik@seznam.cz> | 2015-01-31 17:40:18 +0100 |
commit | d661185526279a300c89a54dfc738d6b1aa97ebb (patch) | |
tree | 5e6d3b8fdbeaae4485a66f2af299bb6827121927 /dev-libs/opensc/files/opensc-0.12.2-dl.patch | |
parent | 0dc914f7f1359266df8951217c4cdaf37d0819b4 (diff) | |
download | brancik-overlay-d661185526279a300c89a54dfc738d6b1aa97ebb.tar.gz brancik-overlay-d661185526279a300c89a54dfc738d6b1aa97ebb.tar.bz2 |
Removed dev-libs/opensc. It doesn't support my hardware.
Diffstat (limited to 'dev-libs/opensc/files/opensc-0.12.2-dl.patch')
-rw-r--r-- | dev-libs/opensc/files/opensc-0.12.2-dl.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/dev-libs/opensc/files/opensc-0.12.2-dl.patch b/dev-libs/opensc/files/opensc-0.12.2-dl.patch deleted file mode 100644 index 526ef81..0000000 --- a/dev-libs/opensc/files/opensc-0.12.2-dl.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 1b896582a0cd74854f99e08854554807a8f1f764 Mon Sep 17 00:00:00 2001 -From: Mike Frysinger <vapier@gentoo.org> -Date: Tue, 22 May 2012 14:12:23 -0400 -Subject: [PATCH] link against -ldl when -lltdl is not available - -If ltdl isn't found, the code will use dlopen if it's available. -But it won't link to -ldl which can cause link errors like so: - - CCLD opensc-tool -../../src/libopensc/.libs/libopensc.so: error: undefined reference to 'dlopen' -../../src/libopensc/.libs/libopensc.so: error: undefined reference to 'dlsym' -../../src/libopensc/.libs/libopensc.so: error: undefined reference to 'dlerror' -../../src/libopensc/.libs/libopensc.so: error: undefined reference to 'dlclose' -collect2: ld returned 1 exit status -make[3]: *** [opensc-tool] Error 1 - -Signed-off-by: Mike Frysinger <vapier@gentoo.org> ---- - configure.ac | 7 +++++++ - 1 files changed, 7 insertions(+), 0 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 2751f0f..123aeb1 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -277,6 +277,13 @@ if test -z "${LTLIB_LIBS}"; then - [LTLIB_LIBS="-lltdl"] - ) - fi -+if test -z "${LTLIB_LIBS}"; then -+ AC_CHECK_LIB( -+ [dl], -+ [dlopen], -+ [LTLIB_LIBS="-ldl"] -+ ) -+fi - - saved_CFLAGS="${CFLAGS}" - CFLAGS="${CFLAGS} ${LTLIB_CFLAGS}" --- -1.7.8.6 - |