rpms/emelfm2/devel emelfm2-0.7.1-dsofix.patch, NONE, 1.1 emelfm2.spec, 1.46, 1.47

Christoph Wickert cwickert at fedoraproject.org
Thu Feb 25 13:52:07 UTC 2010


Author: cwickert

Update of /cvs/pkgs/rpms/emelfm2/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27156/devel

Modified Files:
	emelfm2.spec 
Added Files:
	emelfm2-0.7.1-dsofix.patch 
Log Message:
* Thu Feb 25 2010 Christoph Wickert <cwickert at fedoraproject.org> - 0.7.1-2
- Add patch to fix DSO linking (#564729)


emelfm2-0.7.1-dsofix.patch:
 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE emelfm2-0.7.1-dsofix.patch ---
--- emelfm2-0.7.1.orig/Makefile	2009-12-21 03:50:47.000000000 +0100
+++ emelfm2-0.7.1/Makefile	2010-02-25 14:44:58.000000000 +0100
@@ -336,7 +336,7 @@
 
 $(TARGET): $(OBJECTS)
 	@echo "linking binary '$(TARGET)'"
-	@$(CC) $(LDFLAGS) $(OBJECTS) -o $(TARGET) -Wl,--as-needed $(lLIBS)
+	@$(CC) $(LDFLAGS) $(OBJECTS) -o $(TARGET) -lm -ldl -Wl,--as-needed $(lLIBS)
 ifeq ($(STRIP), 1)
 ifneq ($(DEBUG), 1)
 	@echo "stripping binary '$(TARGET)'"


Index: emelfm2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/emelfm2/devel/emelfm2.spec,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -p -r1.46 -r1.47
--- emelfm2.spec	21 Dec 2009 13:54:53 -0000	1.46
+++ emelfm2.spec	25 Feb 2010 13:52:07 -0000	1.47
@@ -5,13 +5,14 @@
 
 Name:           emelfm2
 Version:        0.7.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        File manager that implements the popular two-pane design
 
 Group:          Applications/File
 License:        GPLv3+
 URL:            http://emelfm2.net/
 Source0:        http://emelfm2.net/rel/%{name}-%{version}.tar.bz2
+Patch0:         emelfm2-0.7.1-dsofix.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  gtk2-devel >= 2.6.0, libacl-devel, gettext, desktop-file-utils
@@ -39,6 +40,7 @@ opening an xterm.
 
 %prep
 %setup -q
+%patch0 -p1 -b .dsofix
 
 # fix broken icon in emelfm2.desktop
 sed -i 's!Icon=emelfm2!Icon=%{_datadir}/pixmaps/emelfm2/emelfm2_48.png!' docs/desktop_environment/%{name}.desktop
@@ -107,6 +109,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Feb 25 2010 Christoph Wickert <cwickert at fedoraproject.org> - 0.7.1-2
+- Add patch to fix DSO linking (#564729)
+
 * Mon Dec 21 2009 Christoph Wickert <cwickert at fedoraproject.org> - 0.7.1-1
 - Update to 0.7.1
 



More information about the scm-commits mailing list