Files
libgtop/debian/patches/02_fix_link.dpatch
2004-03-27 12:24:05 +00:00

50 lines
1.8 KiB
Plaintext

#!/bin/sh -e
## 02_fix_link.dpatch by Sebastien Bacher <seb128@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.
if [ $# -ne 1 ]; then
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1
fi
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
case "$1" in
-patch) patch $patch_opts -p1 < $0;;
-unpatch) patch $patch_opts -p1 -R < $0;;
*)
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1;;
esac
exit 0
@DPATCH@
diff -urNad /tmp/libgtop2-2.0.8/sysdeps/common/Makefile.in libgtop2-2.0.8/sysdeps/common/Makefile.in
--- /tmp/libgtop2-2.0.8/sysdeps/common/Makefile.in 2003-12-19 17:01:00.000000000 +0100
+++ libgtop2-2.0.8/sysdeps/common/Makefile.in 2003-12-30 22:04:34.000000000 +0100
@@ -160,7 +160,7 @@
$(inodedb_SRCLIST)
-libgtop_common_2_0_la_LDFLAGS = $(LT_VERSION_INFO)
+libgtop_common_2_0_la_LDFLAGS = $(LT_VERSION_INFO) -L`pwd`/../../lib/.libs
libgtop_common_2_0_la_LIBADD = $(LIBGTOP_EXTRA_LIBS)
libgtop_suid_common_2_0_la_SOURCES = xmalloc.c error.c sysdeps_suid.c
diff -urNad /tmp/libgtop2-2.0.8/sysdeps/linux/Makefile.in libgtop2-2.0.8/sysdeps/linux/Makefile.in
--- /tmp/libgtop2-2.0.8/sysdeps/linux/Makefile.in 2003-12-19 17:01:01.000000000 +0100
+++ libgtop2-2.0.8/sysdeps/linux/Makefile.in 2003-12-30 22:04:55.000000000 +0100
@@ -158,7 +158,7 @@
libgtop_sysdeps_2_0_la_LIBADD = @GLIB_LIBS@
-libgtop_sysdeps_2_0_la_LDFLAGS = $(LT_VERSION_INFO)
+libgtop_sysdeps_2_0_la_LDFLAGS = $(LT_VERSION_INFO) -L`pwd`/../../lib/.libs
libgtopinclude_HEADERS = glibtop_server.h glibtop_machine.h
libgtopincludedir = $(includedir)/libgtop-2.0