SOURCES: ktorrent-znow.patch - try commas

glen glen at pld-linux.org
Thu Oct 12 22:41:08 CEST 2006


Author: glen                         Date: Thu Oct 12 20:41:08 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- try commas

---- Files affected:
SOURCES:
   ktorrent-znow.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/ktorrent-znow.patch
diff -u SOURCES/ktorrent-znow.patch:1.1 SOURCES/ktorrent-znow.patch:1.2
--- SOURCES/ktorrent-znow.patch:1.1	Thu Oct 12 19:37:23 2006
+++ SOURCES/ktorrent-znow.patch	Thu Oct 12 22:41:02 2006
@@ -1,4 +1,6 @@
--z now doesn't work on ppc and alpha. at least on Ac
+using spaces is totaly incorrect because -Wl is treated like linker flag, -z
+probably as compiler flag and 'now' as object file.
+  -sparky
 
 /bin/sh ../libtool --silent --tag=CXX --mode=link "ppc-pld-linux-g++"  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -fsigned-char -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions    -Wl -z now -o libktorrent.la -rpath /usr/lib -R /usr/lib -R /usr/lib -R /usr/X11R6/lib -L/usr/X11R6/lib -L/usr/lib  pluginmanager.lo functions.lo expandablewidget.lo pluginmanagerprefpage.lo pluginmanagerwidget.lo pluginmanagerprefpage.moc.lo  ../libktorrent/net/libnet.la ../libktorrent/datachecker/libdatachecker.la ../libktorrent/mse/libmse.la ../libktorrent/migrate/libmigrate.la ../libktorrent/util/libutil.la ../libktorrent/torrent/libtorrent.la ../libktorrent/kademlia/libkademlia.la ../libktorrent/interfaces/l
 ibinterfaces.la -lkparts
 ppc-pld-linux-g++: now: No such file or directory
@@ -6,10 +8,11 @@
 
 --- ktorrent-2.0.3/configure.in.in~	2006-10-09 19:04:11.000000000 +0300
 +++ ktorrent-2.0.3/configure.in.in	2006-10-12 20:16:39.947245959 +0300
-@@ -1,6 +1,5 @@
+@@ -1,6 +1,6 @@
  #MIN_CONFIG(3.3)
  CXXFLAGS="$CXXFLAGS $KDE_DEFAULT_CXXFLAGS $USE_EXCEPTIONS $USE_RTTI"
 -LDFLAGS="$LDFLAGS -Wl -z now"
++LDFLAGS="$LDFLAGS -Wl,-z,now"
  
  AM_INIT_AUTOMAKE(ktorrent,2.0.3)
  
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/ktorrent-znow.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list