fix linkage failure
This commit is contained in:
parent
28cf81b879
commit
e0016e7dae
10
libfm-0.1.11-wrong-linkage.patch
Normal file
10
libfm-0.1.11-wrong-linkage.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- libfm-0.1.10/src/Makefile.am 2010-04-19 02:57:07.000000000 +0900
|
||||
+++ libfm-0.1.11/src/Makefile.am 2010-04-25 22:00:36.000000000 +0900
|
||||
@@ -211,7 +211,6 @@
|
||||
$(GTK_LIBS) \
|
||||
$(MENU_CACHE_LIBS) \
|
||||
$(INTLLIBS) \
|
||||
- libfm.la \
|
||||
libfm-gtk.la \
|
||||
$(NULL)
|
||||
|
@ -10,6 +10,8 @@ License: GPLv2+
|
||||
URL: http://pcmanfm.sourceforge.net/
|
||||
Source0: http://downloads.sourceforge.net/pcmanfm/%{name}-%{version}.tar.gz
|
||||
Patch0: libfm-0.1.9-pref-apps.patch
|
||||
# The following patch must be reversed
|
||||
Patch1: libfm-0.1.11-wrong-linkage.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: gtk2-devel >= 2.16.0
|
||||
@ -17,6 +19,9 @@ BuildRequires: menu-cache-devel >= 0.3.2
|
||||
BuildRequires: gettext
|
||||
BuildRequires: intltool
|
||||
BuildRequires: desktop-file-utils
|
||||
# For Patch1
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
Requires(post): /sbin/ldconfig
|
||||
Requires(postun): /sbin/ldconfig
|
||||
|
||||
@ -73,6 +78,10 @@ developing applications that use %{name}-gtk.
|
||||
|
||||
%patch0 -p1 -b .orig
|
||||
|
||||
# Patch1 needs autotools
|
||||
%patch1 -p1 -b .link -R
|
||||
autoreconf -fi
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
# remove rpaths
|
||||
|
Loading…
Reference in New Issue
Block a user