X-Git-Url: https://git.tokkee.org/?p=pkg-mlmmj.git;a=blobdiff_plain;f=debian%2Fpatches%2F05_fix_displayed_full_paths.dpatch;h=6a1345c92c3f817a7cdb522de60374d35289384e;hp=f57e1dd0d06c7495ce9da73b010b200692ae6531;hb=720c0ca1b7aeabbc4cd00de67d7162e6403f8dad;hpb=2a63b994289b6ab0dd7eaf92aac41e260177559a diff --git a/debian/patches/05_fix_displayed_full_paths.dpatch b/debian/patches/05_fix_displayed_full_paths.dpatch index f57e1dd..6a1345c 100644 --- a/debian/patches/05_fix_displayed_full_paths.dpatch +++ b/debian/patches/05_fix_displayed_full_paths.dpatch @@ -1,31 +1,14 @@ -#! /bin/sh -e -## 05_fix_displayed_full_paths.dpatch by +#! /bin/sh /usr/share/dpatch/dpatch-run +## 05_fix_displayed_full_paths.dpatch by Søren Boll Overgaard ## ## DP: Adapt the path name of binaries in an error message to the paths as ## DP: used in the Debian package. -if [ $# -lt 1 ]; then - echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 - exit 1 -fi - -[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts -patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" - -case "$1" in - -patch) patch -p1 ${patch_opts} < $0;; - -unpatch) patch -R -p1 ${patch_opts} < $0;; - *) - echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 - exit 1;; -esac - -exit 0 - @DPATCH@ -diff -urNad /home/boll/mlmmj/mlmmj-1.0.0-RELEASE/include/mlmmj.h mlmmj-1.0.0-RELEASE/include/mlmmj.h ---- /home/boll/mlmmj/mlmmj-1.0.0-RELEASE/include/mlmmj.h 2004-09-07 11:49:10.000000000 +0000 -+++ mlmmj-1.0.0-RELEASE/include/mlmmj.h 2004-10-03 08:29:27.000000000 +0000 + +diff a/include/mlmmj.h b/include/mlmmj.h +--- a/include/mlmmj.h ++++ b/include/mlmmj.h @@ -70,7 +70,7 @@ #define CHECKFULLPATH(name) if(strchr(name, '/') == NULL) { \ fprintf(stderr, "All mlmmj binaries have to " \