~ubuntu-branches/ubuntu/saucy/librsvg/saucy

« back to all changes in this revision

Viewing changes to debian/patches/99_ltmain_as-needed.patch

  • Committer: Package Import Robot
  • Author(s): Michael Biebl
  • Date: 2013-05-24 19:34:11 UTC
  • mfrom: (34.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20130524193411-olwciye7zzv94ygi
Tags: 2.36.4-2
* Upload to unstable.
* Drop Build-Conflicts against valac-0.16 again. With valac-0.20 now being
  the default this is no longer necessary.
* Drop explicit Build-Depends on gir1.2-glib-2.0 and gir1.2-freedesktop.
  Those are pulled in by libgirepository1.0-dev.
* Bump Standards-Version to 3.9.4. No further changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Index: librsvg-2.36.0/ltmain.sh
2
 
===================================================================
3
 
--- librsvg-2.36.0.orig/ltmain.sh       2012-02-03 13:14:50.000000000 +0100
4
 
+++ librsvg-2.36.0/ltmain.sh    2012-03-30 22:37:32.269507414 +0200
5
 
@@ -5787,6 +5787,11 @@
6
 
        arg=$func_stripname_result
7
 
        ;;
8
 
 
9
 
+      -Wl,--as-needed)
10
 
+       deplibs="$deplibs $arg"
11
 
+       continue
12
 
+       ;;
13
 
+
14
 
       -Wl,*)
15
 
        func_stripname '-Wl,' '' "$arg"
16
 
        args=$func_stripname_result
17
 
@@ -6147,6 +6152,15 @@
18
 
        lib=
19
 
        found=no
20
 
        case $deplib in
21
 
+       -Wl,--as-needed)
22
 
+         if test "$linkmode,$pass" = "prog,link"; then
23
 
+           compile_deplibs="$deplib $compile_deplibs"
24
 
+           finalize_deplibs="$deplib $finalize_deplibs"
25
 
+         else
26
 
+           deplibs="$deplib $deplibs"
27
 
+         fi
28
 
+         continue
29
 
+         ;;
30
 
        -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
31
 
          if test "$linkmode,$pass" = "prog,link"; then
32
 
            compile_deplibs="$deplib $compile_deplibs"