Package: multiwatch
Version: 1.0.0-rc1-2
Severity: normal
Tags: patch
User: debian-...@lists.debian.org
Usertags: ld-as-needed



*** /tmp/tmp_57xkF
In Ubuntu, the attached patch was applied to achieve the following:

Hi! multiwatch fails to build from source with binutils-gold and
ld --as-needed, this patch solves this problem.

Regrads,

  * debian/patches/fix-ftbfs-with-ld-as-needed.patch:
    - Fix ftbfs with ld --as-needed (LP: #756042)


Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0-2-generic (SMP w/1 CPU core)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru multiwatch-1.0.0-rc1/debian/changelog multiwatch-1.0.0-rc1/debian/changelog
diff -Nru multiwatch-1.0.0-rc1/debian/patches/fix-ftbfs-with-ld-as-needed.patch multiwatch-1.0.0-rc1/debian/patches/fix-ftbfs-with-ld-as-needed.patch
--- multiwatch-1.0.0-rc1/debian/patches/fix-ftbfs-with-ld-as-needed.patch	1970-01-01 01:00:00.000000000 +0100
+++ multiwatch-1.0.0-rc1/debian/patches/fix-ftbfs-with-ld-as-needed.patch	2011-06-29 23:23:19.000000000 +0200
@@ -0,0 +1,17 @@
+Description: Fix ftbfs with ld --as-needed
+Author: Angel Abad <angela...@ubuntu.com>
+Bug-Ubuntu: https://launchpad.net/bugs/756042
+
+Index: multiwatch-1.0.0-rc1/CMakeLists.txt
+===================================================================
+--- multiwatch-1.0.0-rc1.orig/CMakeLists.txt	2011-06-29 23:21:08.715201582 +0200
++++ multiwatch-1.0.0-rc1/CMakeLists.txt	2011-06-29 23:21:44.364753406 +0200
+@@ -67,7 +67,7 @@
+ TARGET_LINK_LIBRARIES(multiwatch "${EV_LIBRARIES}")
+ 
+ # GLIB 2
+-ADD_TARGET_PROPERTIES(multiwatch LINK_FLAGS "${GLIB2_LDFLAGS}")
++TARGET_LINK_LIBRARIES(multiwatch "${GLIB2_LDFLAGS}")
+ ADD_TARGET_PROPERTIES(multiwatch COMPILE_FLAGS "${GLIB2_CFLAGS_OTHER}")
+ 
+ INSTALL(TARGETS multiwatch DESTINATION bin)
diff -Nru multiwatch-1.0.0-rc1/debian/patches/series multiwatch-1.0.0-rc1/debian/patches/series
--- multiwatch-1.0.0-rc1/debian/patches/series	2011-04-18 23:53:46.000000000 +0200
+++ multiwatch-1.0.0-rc1/debian/patches/series	2011-06-29 23:20:55.000000000 +0200
@@ -1 +1,2 @@
 1001_libev4_compatibility.patch
+fix-ftbfs-with-ld-as-needed.patch

Reply via email to