peterdelevoryas / rpms / qemu

Forked from rpms/qemu 2 years ago
Clone

Blame 0114-libcacard-fix-missing-symbol-in-libcacard.so.patch

Alon Levy 9e8e01
From 27d509fdc239785b4748599c62115b36abeac32d Mon Sep 17 00:00:00 2001
Alon Levy 9e8e01
From: Alon Levy <alevy@redhat.com>
Alon Levy 9e8e01
Date: Wed, 28 Nov 2012 11:16:26 +0200
Alon Levy 9e8e01
Subject: [PATCH] libcacard: fix missing symbol in libcacard.so
Alon Levy 9e8e01
Alon Levy 9e8e01
Before patch:
Alon Levy 9e8e01
$ make libcacard.la
Alon Levy 9e8e01
$ nm ./libcacard/.libs/libcacard.so.0.0.0 | grep " U " | \
Alon Levy 9e8e01
    egrep -v "(g_)|(GLIBC)|(SECMOD)|(PK11)|(CERT)|(NSS)|(PORT)|(PR)"
Alon Levy 9e8e01
                 U error_set
Alon Levy 9e8e01
Alon Levy 9e8e01
Signed-off-by: Alon Levy <alevy@redhat.com>
Alon Levy 9e8e01
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Alon Levy 9e8e01
Alon Levy 9e8e01
modified from e832341bde5448a6a1392ea903a553497a13763b
Alon Levy 9e8e01
---
Alon Levy 9e8e01
 libcacard/Makefile | 2 +-
Alon Levy 9e8e01
 1 file changed, 1 insertion(+), 1 deletion(-)
Alon Levy 9e8e01
Alon Levy 9e8e01
diff --git a/libcacard/Makefile b/libcacard/Makefile
Alon Levy 9e8e01
index 750713a..e3192c9 100644
Alon Levy 9e8e01
--- a/libcacard/Makefile
Alon Levy 9e8e01
+++ b/libcacard/Makefile
Alon Levy 9e8e01
@@ -7,7 +7,7 @@ libcacard_includedir=$(includedir)/cacard
Alon Levy 9e8e01
 $(call set-vpath, $(SRC_PATH))
Alon Levy 9e8e01
 
Alon Levy 9e8e01
 # objects linked into a shared library, built with libtool with -fPIC if required
Alon Levy 9e8e01
-QEMU_OBJS=$(oslib-obj-y) qemu-timer-common.o iov.o cutils.o qemu-user.o $(trace-obj-y) $(stub-obj-y)
Alon Levy 9e8e01
+QEMU_OBJS=$(oslib-obj-y) qemu-timer-common.o error.o iov.o cutils.o qemu-user.o $(trace-obj-y) $(stub-obj-y)
Alon Levy 9e8e01
 QEMU_OBJS_LIB=$(patsubst %.o,%.lo,$(QEMU_OBJS))
Alon Levy 9e8e01
 
Alon Levy 9e8e01
 QEMU_CFLAGS+=-I../
Alon Levy 9e8e01
-- 
Alon Levy 9e8e01
1.8.0.1
Alon Levy 9e8e01