Files
libgtop/debian/patches/02_fix_link.dpatch
Jose Carlos Garcia Sogo c2c229f61d Version 2.5.2-1
* Marc DequÚnes (Duck):
      - New upstream release
      - Corrected patch 'fix_link' to apply on new sources, as it is still
      needed.
      - Deactivated all other patches, they *should* not be useful anymore.

  * Jose Carlos:
      - Converted to cdbs.
      - debian/:
        + Moved .files to .install
      - debian/control.in: 
        + Removed automake and autoconf Build-Dependencies.
        + libgtop2-dev package should depend only on libglib2.0-dev instead
          of libgtk+2.0-dev
2004-03-28 15:22:05 +00:00

44 lines
1.4 KiB
Plaintext
Executable File

#!/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 -u libgtop2-2.5.2/sysdeps/common/Makefile.in.orig libgtop2-2.5.2/sysdeps/common/Makefile.in
--- libgtop2-2.5.2/sysdeps/common/Makefile.in.orig 2004-03-27 02:53:38.000000000 +0100
+++ libgtop2-2.5.2/sysdeps/common/Makefile.in 2004-03-27 02:54:59.000000000 +0100
@@ -160,12 +160,12 @@
$(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 = error.c sysdeps_suid.c
-libgtop_suid_common_2_0_la_LDFLAGS = $(LT_VERSION_INFO)
+libgtop_suid_common_2_0_la_LDFLAGS = $(LT_VERSION_INFO) -L`pwd`/../../lib/.libs
EXTRA_DIST = inodedb.c
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs