[arch-commits] Commit in emelfm2/trunk (PKGBUILD emelfm2-0.8.0-dsofix.patch)

Giovanni Scafora giovanni at archlinux.org
Mon Feb 27 17:34:17 UTC 2012


    Date: Monday, February 27, 2012 @ 12:34:17
  Author: giovanni
Revision: 151555

upgpkg: emelfm2 0.8.0-2

signing rebuild

Added:
  emelfm2/trunk/emelfm2-0.8.0-dsofix.patch
Modified:
  emelfm2/trunk/PKGBUILD

----------------------------+
 PKGBUILD                   |    9 ++++++---
 emelfm2-0.8.0-dsofix.patch |   11 +++++++++++
 2 files changed, 17 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-27 17:30:27 UTC (rev 151554)
+++ PKGBUILD	2012-02-27 17:34:17 UTC (rev 151555)
@@ -4,17 +4,20 @@
 
 pkgname=emelfm2
 pkgver=0.8.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A file manager that implements the popular two-pane design"
 arch=(i686 x86_64)
 url="http://emelfm2.net/"
 depends=('gtk2')
 license=('GPL')
-source=(http://emelfm2.net/rel/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('8490d501e19009860f53ac6a98db74c1')
+source=("http://emelfm2.net/rel/${pkgname}-${pkgver}.tar.bz2"
+        'emelfm2-0.8.0-dsofix.patch')
+md5sums=('8490d501e19009860f53ac6a98db74c1'
+         '0a6252eda0c3a98ba693148dfdd6ccba')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
+  patch -Np1 -i "${srcdir}/emelfm2-0.8.0-dsofix.patch"
   make PREFIX=/usr
   make PREFIX=${pkgdir}/usr install
   make PREFIX=${pkgdir}/usr install_i18n

Added: emelfm2-0.8.0-dsofix.patch
===================================================================
--- emelfm2-0.8.0-dsofix.patch	                        (rev 0)
+++ emelfm2-0.8.0-dsofix.patch	2012-02-27 17:34:17 UTC (rev 151555)
@@ -0,0 +1,11 @@
+--- a/Makefile	2011-06-06 11:10:28.000000000 +0200
++++ b/Makefile	2012-02-27 18:20:11.000000000 +0100
+@@ -382,7 +382,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)'"




More information about the arch-commits mailing list