diff -Naur wmnetload-1.3.orig/configure.in wmnetload-1.3/configure.in
--- wmnetload-1.3.orig/configure.in	2003-02-23 10:07:39.000000000 +0100
+++ wmnetload-1.3/configure.in	2015-08-23 22:26:30.221448648 +0200
@@ -102,7 +102,6 @@
 	[inc_search_path=" -I $withval $inc_search_path"])
 
 LIBRARY_SEARCH_PATH="$lib_search_path -L/usr/local/lib"
-LIBRARY_RPATH=`echo "$LIBRARY_SEARCH_PATH" | sed 's/[ *]-L[ *]/:/g'`
 HEADER_SEARCH_PATH="$inc_search_path -I/usr/local/include"
 
 AC_SUBST(LIBRARY_SEARCH_PATH)
@@ -122,12 +121,10 @@
 	;;
 *netbsd*)
 	OS=netbsd
-	LIBRARY_RPATH="$LIBRARY_RPATH:/usr/X11R6/lib"
 	LIBS="$LIBS -lkvm"
 	;;
 *freebsd*)
 	OS=freebsd
-	LIBRARY_RPATH="$LIBRARY_RPATH:/usr/X11R6/lib"
 	;;
 *)
 	echo ""
@@ -143,22 +140,6 @@
 
 AC_PATH_XTRA
 
-dnl
-dnl Hack in rpath -- yes, this sucks, and it even has a hidden dependency
-dnl on the implementation of AC_PATH_XTRA.  F@&* you, portability.
-dnl
-if test "$GCC" = yes; then
-	if test "ac_R_space" = no; then
-		RPATH="-Wl,\"-R$LIBRARY_RPATH\""
-	else
-		RPATH="-Wl,\"-R $LIBRARY_RPATH\"" 
-	fi
-else
-	RPATH=
-	echo "WARNING: do not know how to set RPATH with this compiler"
-fi
-
-AC_SUBST(RPATH)
 
 
 X_LIBRARY_PATH=$x_libraries
@@ -188,8 +169,8 @@
 
 WN_CHECK_LIB(dockapp, DAInitialize, [$XLFLAGS $XLIBS -lXpm])
 if test "x$ac_cv_lib_dockapp_DAInitialize" = xyes; then
-        WN_CHECK_HEADER(dockapp.h, $XCFLAGS)
-        if test "x$ac_cv_header_dockapp_h" != xyes; then
+        WN_CHECK_HEADER(libdockapp/dockapp.h, $XCFLAGS)
+        if test "x$ac_cv_header_libdockapp_dockapp_h" != xyes; then
 		echo "Cannot find required libdockapp headers."
 		exit 1
         fi
diff -Naur wmnetload-1.3.orig/.configure.in.swp wmnetload-1.3/.configure.in.swp
--- wmnetload-1.3.orig/.configure.in.swp	1970-01-01 01:00:00.000000000 +0100
+++ wmnetload-1.3/.configure.in.swp	2015-08-23 22:26:34.250456495 +0200
@@ -0,0 +1,21 @@
+b0VIM 7.4v,ÚUO2 ç?bernardenterprise~bernard/wmnetload-1.3/configure.inutf-8
3210#"! Utp—4˜ad=µ—½¤‰ˆ„j1-ÝÜØº‚~\ì
Ð
¯
w
L
*
íêçæâÏ›—€K#ìÀ›„NKHGCÎ
+Ê
+³
+±
+š
+r
+G
+0
+-
+,
+(
+
+½	•	‘	w	u	\	0			þýÚÙÀµ©™˜{lkYI/òÝÜÂ{feS-è ~J3úÅÄ­n:9ÆÅ§Š‰jiWVE<2.#ýóèÔÐÅ¹µ²©{rjfa`SR<;.-,+ûéÛÚ¶µ´dnl Checks for X library functions.XLIBS="-lX11"XLFLAGS="$X_LIBS"XCFLAGS="$X_CFLAGS"X_LIBRARY_PATH=$x_librariesAC_PATH_XTRAdnl Stuff that uses XAC_SUBST(OS)esac	;;	exit 1	echo ""	echo "Sorry, $host_os is not supported yet."	echo ""*)	;;	OS=freebsd*freebsd*)	;;	LIBS="$LIBS -lkvm"	OS=netbsd*netbsd*)	;;	LIBS="$LIBS -lkstat"	OS=solaris*solaris*)	;;	OS=linux*linux*)case $host_os inAC_CANONICAL_HOSTdnl Determine operating systemAC_SUBST(HEADER_SEARCH_PATH)AC_SUBST(LIBRARY_SEARCH_PATH)HEADER_SEARCH_PATH="$inc_search_path -I/usr/local/include"LIBRARY_SEARCH_PATH="$lib_search_path -L/usr/local/lib"	[inc_search_path=" -I $withval $inc_search_path"])	[  --with-incs-from        compiler header file search path],AC_ARG_WITH(incs-from, 	[lib_search_path=" -L $withval $lib_search_path"])	[  --with-libs-from        linker library search path],AC_ARG_WITH(libs-from,dnl Specify paths to look for libraries and headersthrough the magic of config.h.])but having it forces wmnetload to recompile if the value of it changes,[Right now, no source code actually depends directly on this symbol,AC_DEFINE_UNQUOTED(WN_LOOK, $WN_LOOK,AC_SUBST(WN_LOOK) 	[WN_LOOK=current])	[  --with-current-look     use \"current\" wmnetload look (default)],AC_ARG_WITH(current-look, 	[WN_LOOK=classic])	[  --with-classic-look     use \"classic\" wmnetload look],AC_ARG_WITH(classic-look,WN_LOOK=currentdnl Set the look.AC_HEADER_STDCdnl Checks for header files.AC_PROG_INSTALLAC_PROG_CPPAC_PROG_CCdnl Checks for programs.AM_INIT_AUTOMAKE(wmnetload, "1.3")])CPPFLAGS="$CPPFLAGS_old"AC_CHECK_HEADER([$1])CPPFLAGS="$CPPFLAGS $HEADER_SEARCH_PATH $2"CPPFLAGS_old="$CPPFLAGS"[AC_DEFUN(WN_CHECK_HEADER,dnldnl and it takes a cpp flags parameter.dnl Just like AC_CHECK_HEADER, except that it respects HEADER_SEARCH_PATHdnl WN_CHECK_HEADER(NAME, FLAGS)dnl])LDFLAGS="$LDFLAGS_old"AC_CHECK_LIB([$1],[$2],yes=yes,no=no,[$3])LDFLAGS="$LDFLAGS $LIBRARY_SEARCH_PATH"LDFLAGS_old="$LDFLAGS"[AC_DEFUN(WN_CHECK_LIB,dnldnl Just like AC_CHECK_LIB, except that it respects LIBRARY_SEARCH_PATH.dnl WN_CHECK_LIB(NAME, FUNCTION, EXTRALIBS)dnl])fi	[Define if your system supports IPv6 applications.])	AC_DEFINE(HAVE_IPV6,,if test $ac_cv_have_ipv6 = yes; then	ac_cv_have_ipv6=yes, ac_cv_have_ipv6=no)])	[struct sockaddr_in6 s;],	#include <netinet/in.h>], [AC_TRY_COMPILE([#include <sys/types.h>[AC_CACHE_CHECK([for IPv6 support], ac_cv_have_ipv6,AC_DEFUN(WN_HAVE_IPV6,dnldnl See if the system "supports" IPv6 applications.dnl WN_HAVE_IPV6()dnl])fi	[Define if your system supports sockaddr's sa_len member.])	AC_DEFINE(HAVE_SOCKADDR_SA_LEN,,if test $ac_cv_sockaddr_sa_len = yes; then	ac_cv_sockaddr_sa_len=yes, ac_cv_sockaddr_sa_len=no)])	[struct sockaddr s; s.sa_len;],	#include <sys/socket.h>], [AC_TRY_COMPILE([#include <sys/types.h>[AC_CACHE_CHECK([for sa_len in struct sockaddr], ac_cv_sockaddr_sa_len,AC_DEFUN(WN_HAVE_SOCKADDR_SA_LEN,dnldnl See if the system supports sockaddr's sa_len memberdnl WN_HAVE_SOCKADDR_SA_LEN()dnl[AC_CHECK_TYPE(ulonglong_t, unsigned long long)])AC_DEFUN(WN_TYPE_ULONGLONG_T,dnldnl See if ulonglong_t is already defined on the system.dnl WN_TYPE_ULONGLONG_T()dnlAM_CONFIG_HEADER(config.h)AC_INIT(src/wmnetload.c)dnl Process this file with autoconf to produce a configure script.ad¶	¢
+4ÂƒVñèÝØÏ¬¤¡ g-Õ
�
e
!
ïæÛÖÍ¦]URQ/øæÔÄµ´—x]\þ
+æ
+Ù
+Ø
+Ã
+¢
+¬
+AC_OUTPUT(Makefile src/Makefile)dnl Create MakefilesWN_HAVE_IPV6WN_HAVE_SOCKADDR_SA_LENWN_TYPE_ULONGLONG_Tdnl Checks for typedefs, structures, and compiler/system characteristics.AC_CHECK_HEADERS(alloca.h)AC_CHECK_HEADERS(sys/sockio.h)dnl Checks for header files.AC_SUBST(LIBS)AC_SUBST(XLIBS)AC_SUBST(XLFLAGS)AC_SUBST(XCFLAGS)AC_SUBST(X_LIBRARY_PATH)AC_CHECK_LIB(socket, socket)dnl Checks for library functions.fi	exit 1	echo "The required version is at ftp://truffula.com/pub/libdockapp.tgz"	echo "Sorry, libdockapp is required."	echo ""else        fi		exit 1		echo "Cannot find required libdockapp headers."        if test "x$ac_cv_header_libdockapp_dockapp_h" != xyes; then        WN_CHECK_HEADER(libdockapp/dockapp.h, $XCFLAGS)if test "x$ac_cv_lib_dockapp_DAInitialize" = xyes; thenWN_CHECK_LIB(dockapp, DAInitialize, [$XLFLAGS $XLIBS -lXpm])fi	XLIBS="$XLIBS -lXext"if test "x$ac_cv_lib_Xext_XShapeCombineMask" = xyes; thenWN_CHECK_LIB(Xext, XShapeCombineMask, [$XLFLAGS $XLIBS])fi	exit 1	echo "Sorry, libXpm is required."	echo ""else        fi		exit 1		echo "Cannot find required libXpm headers."        if test "x$ac_cv_header_X11_xpm_h" = xno; then        WN_CHECK_HEADER(X11/xpm.h, $XCFLAGS)if test "x$ac_cv_lib_Xpm_XpmCreatePixmapFromData" = xyes; thenWN_CHECK_LIB(Xpm, XpmCreatePixmapFromData, [$XLFLAGS $XLIBS])
\ Pas de fin de ligne Ã  la fin du fichier
diff -Naur wmnetload-1.3.orig/src/Makefile.am wmnetload-1.3/src/Makefile.am
--- wmnetload-1.3.orig/src/Makefile.am	2003-02-18 07:30:48.000000000 +0100
+++ wmnetload-1.3/src/Makefile.am	2015-08-23 22:20:16.599704945 +0200
@@ -25,8 +25,6 @@
 EXTRA_wmnetload_SOURCES	= ifstat_linux.c ifstat_netbsd.c ifstat_solaris.c \
 			  ifstat_freebsd.c
 
-LDFLAGS			= @RPATH@
-
 LDADD	 = @LIBRARY_SEARCH_PATH@ @XLFLAGS@ @XLIBS@ -ldockapp -lXpm -lm
 CPPFLAGS = @CPPFLAGS@ @XCFLAGS@ -DVERSION=\"@VERSION@\" 
 INCLUDES = @HEADER_SEARCH_PATH@ -I$(top_srcdir)/xpm/@WN_LOOK@
