From 13151d905e1a9187eec24d59ef627db7396cfe50 Mon Sep 17 00:00:00 2001 From: nucleo Date: Jun 14 2010 22:38:53 +0000 Subject: fix DSO linking --- diff --git a/ktorrent-4.0.1-dso.patch b/ktorrent-4.0.1-dso.patch new file mode 100644 index 0000000..bdb110c --- /dev/null +++ b/ktorrent-4.0.1-dso.patch @@ -0,0 +1,10 @@ +--- ktorrent-4.0.1/ktupnptest/CMakeLists.txt 2010-06-14 19:29:36.000000000 +0300 ++++ ktorrent-4.0.1/ktupnptest/CMakeLists.txt 2010-06-15 01:06:57.000000000 +0300 +@@ -6,6 +6,6 @@ + kde4_add_ui_files(ktupnptest_SRC upnptestwidget.ui) + kde4_add_executable(ktupnptest ${ktupnptest_SRC}) + +-target_link_libraries(ktupnptest ${LIBKTORRENT_LIBRARIES} ktupnp ${QT_QTNETWORK_LIBRARY} ${KDE4_KDEUI_LIBS}) ++target_link_libraries(ktupnptest ${LIBKTORRENT_LIBRARIES} ktupnp ktcore ${QT_QTNETWORK_LIBRARY} ${KDE4_KDEUI_LIBS}) + install(TARGETS ktupnptest ${INSTALL_TARGETS_DEFAULT_ARGS}) + diff --git a/ktorrent.spec b/ktorrent.spec index 5391035..582e460 100644 --- a/ktorrent.spec +++ b/ktorrent.spec @@ -9,6 +9,7 @@ Group: Applications/Internet License: GPLv2+ URL: http://ktorrent.org/ Source0: http://ktorrent.org/downloads/4.0%{?pre}/ktorrent-%{version}%{?pre}.tar.bz2 +Patch0: ktorrent-4.0.1-dso.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: avahi-devel @@ -57,6 +58,7 @@ Requires: plasma-engine-ktorrent = %{version}-%{release} %prep %setup -q -n %{name}-%{version}%{?pre} +%patch0 -p1 %build mkdir -p %{_target_platform} @@ -148,6 +150,7 @@ rm -rf $RPM_BUILD_ROOT %changelog * Tue Jun 15 2010 Alexey Kurov - 4.0.1-1 - ktorrent-4.0.1 +- fix DSO linking * Mon May 24 2010 Rex Dieter - 4.0.0-1 - ktorrent-4.0.0