diff --git a/tix/tix-port b/tix/tix-port index 28e406c1..256f6040 100755 --- a/tix/tix-port +++ b/tix/tix-port @@ -317,7 +317,7 @@ diff_package() {( base=$(basename -- "$port") if [ -e "$base.upstream" ]; then announce "diff $base.upstream $base" - diff -Paur --no-dereference -- "$base.upstream" "$base" | + LC_ALL=C diff -Paur --no-dereference -- "$base.upstream" "$base" | sed -E -e '/^Only in.*$/d' -e 's/^((---|\+\+\+)[^\t]+)\t.*/\1/' \ > "$base.patch" if [ ! -s "$base.patch" ]; then rm "$base.patch"; fi