archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libvisual-plugins / repos / extra-x86_64 / 05_fix_po.patch
bloba5413ef1ba094995ee368a523504ca33c5fa9428
1 diff -Nur libvisual-plugins-0.4.0/po/Makefile.in.in libvisual-plugins-0.4.0.new/po/Makefile.in.in
2 --- libvisual-plugins-0.4.0/po/Makefile.in.in 2006-03-21 05:48:28.000000000 +1100
3 +++ libvisual-plugins-0.4.0.new/po/Makefile.in.in 2007-07-09 21:50:13.000000000 +1000
4 @@ -28,7 +28,7 @@
6 INSTALL = @INSTALL@
7 INSTALL_DATA = @INSTALL_DATA@
8 -MKINSTALLDIRS = @MKINSTALLDIRS@
9 +MKINSTALLDIRS = mkinstalldirs
10 mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)
12 GMSGFMT = @GMSGFMT@
13 diff -Nur libvisual-plugins-0.4.0/po/mkinstalldirs libvisual-plugins-0.4.0.new/po/mkinstalldirs
14 --- libvisual-plugins-0.4.0/po/mkinstalldirs 1970-01-01 10:00:00.000000000 +1000
15 +++ libvisual-plugins-0.4.0.new/po/mkinstalldirs 2006-03-21 05:48:42.000000000 +1100
16 @@ -0,0 +1,111 @@
17 +#! /bin/sh
18 +# mkinstalldirs --- make directory hierarchy
19 +# Author: Noah Friedman <friedman@prep.ai.mit.edu>
20 +# Created: 1993-05-16
21 +# Public domain
23 +errstatus=0
24 +dirmode=""
26 +usage="\
27 +Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
29 +# process command line arguments
30 +while test $# -gt 0 ; do
31 + case $1 in
32 + -h | --help | --h*) # -h for help
33 + echo "$usage" 1>&2
34 + exit 0
35 + ;;
36 + -m) # -m PERM arg
37 + shift
38 + test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
39 + dirmode=$1
40 + shift
41 + ;;
42 + --) # stop option processing
43 + shift
44 + break
45 + ;;
46 + -*) # unknown option
47 + echo "$usage" 1>&2
48 + exit 1
49 + ;;
50 + *) # first non-opt arg
51 + break
52 + ;;
53 + esac
54 +done
56 +for file
57 +do
58 + if test -d "$file"; then
59 + shift
60 + else
61 + break
62 + fi
63 +done
65 +case $# in
66 + 0) exit 0 ;;
67 +esac
69 +case $dirmode in
70 + '')
71 + if mkdir -p -- . 2>/dev/null; then
72 + echo "mkdir -p -- $*"
73 + exec mkdir -p -- "$@"
74 + fi
75 + ;;
76 + *)
77 + if mkdir -m "$dirmode" -p -- . 2>/dev/null; then
78 + echo "mkdir -m $dirmode -p -- $*"
79 + exec mkdir -m "$dirmode" -p -- "$@"
80 + fi
81 + ;;
82 +esac
84 +for file
85 +do
86 + set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
87 + shift
89 + pathcomp=
90 + for d
91 + do
92 + pathcomp="$pathcomp$d"
93 + case $pathcomp in
94 + -*) pathcomp=./$pathcomp ;;
95 + esac
97 + if test ! -d "$pathcomp"; then
98 + echo "mkdir $pathcomp"
100 + mkdir "$pathcomp" || lasterr=$?
102 + if test ! -d "$pathcomp"; then
103 + errstatus=$lasterr
104 + else
105 + if test ! -z "$dirmode"; then
106 + echo "chmod $dirmode $pathcomp"
107 + lasterr=""
108 + chmod "$dirmode" "$pathcomp" || lasterr=$?
110 + if test ! -z "$lasterr"; then
111 + errstatus=$lasterr
112 + fi
113 + fi
114 + fi
115 + fi
117 + pathcomp="$pathcomp/"
118 + done
119 +done
121 +exit $errstatus
123 +# Local Variables:
124 +# mode: shell-script
125 +# sh-indentation: 2
126 +# End:
127 +# mkinstalldirs ends here