source: pkg/viola/main/gedit/trunk/debian/patches/99_ltmain_as-needed.patch @ 3520

Revision 3520, 907 bytes checked in by alanbach-guest, 6 years ago (diff)
  • New upstream bugfix release
    • dropped 01_gedit-bugreport-location.patch,

merged upstream

  • refreshed 99_ltmain_as-needed.patch
  • gedit-2.22.1

    diff -urN gedit-2.22.1/ltmain.sh gedit-2.22.1.new/ltmain.sh
    old new  
    18071807        arg=`$echo "X$arg" | $Xsed -e "s/^ //"` 
    18081808        ;; 
    18091809 
     1810      -Wl,--as-needed) 
     1811        deplibs="$deplibs $arg" 
     1812        continue 
     1813        ;; 
     1814       
    18101815      -Wl,*) 
    18111816        args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'` 
    18121817        arg= 
     
    21502155        lib= 
    21512156        found=no 
    21522157        case $deplib in 
     2158        -Wl,--as-needed) 
     2159          if test "$linkmode,$pass" = "prog,link"; then 
     2160            compile_deplibs="$deplib $compile_deplibs" 
     2161            finalize_deplibs="$deplib $finalize_deplibs" 
     2162          else 
     2163            deplibs="$deplib $deplibs" 
     2164          fi 
     2165          continue 
     2166          ;; 
    21532167        -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) 
    21542168          if test "$linkmode,$pass" = "prog,link"; then 
    21552169            compile_deplibs="$deplib $compile_deplibs" 
Note: See TracBrowser for help on using the repository browser.