|
Lines 65-70
Link Here
|
| 65 |
EPATCH_SUFFIX="patch" epatch "${PATCHDIR}"/generic |
65 |
EPATCH_SUFFIX="patch" epatch "${PATCHDIR}"/generic |
| 66 |
chmod a+rx tests/sort/sort-mb-tests |
66 |
chmod a+rx tests/sort/sort-mb-tests |
| 67 |
|
67 |
|
|
|
68 |
# Remove invalid "EF BF BD" (hex) from pl.po file |
| 69 |
# Otherwise 'patch' is going to complain and won't patch the file at all |
| 70 |
einfo "Correcting pl.po file ..." |
| 71 |
sed s/$(echo -en "\357\277\275")//g po/pl.po > po/pl.po.new |
| 72 |
mv po/pl.po.new po/pl.po |
| 73 |
|
| 74 |
# Now patch the corrected pl.po file |
| 75 |
epatch ${FILESDIR}/translation-pl.po-${PV}.patch |
| 76 |
|
| 77 |
# Remove pl.gmo file and touch .pot to force the rebuild of pl.gmo |
| 78 |
rm po/pl.gmo |
| 79 |
touch po/coreutils.pot |
| 80 |
|
| 68 |
# Since we've patched many .c files, the make process will |
81 |
# Since we've patched many .c files, the make process will |
| 69 |
# try to re-build the manpages by running `./bin --help`. |
82 |
# try to re-build the manpages by running `./bin --help`. |
| 70 |
# When cross-compiling, we can't do that since 'bin' isn't |
83 |
# When cross-compiling, we can't do that since 'bin' isn't |