diff options
Diffstat (limited to 'source/ap')
-rwxr-xr-x | source/ap/texinfo/texinfo.SlackBuild | 5 | ||||
-rw-r--r-- | source/ap/texinfo/texinfo.fix.pt_BR.patch | 12 |
2 files changed, 16 insertions, 1 deletions
diff --git a/source/ap/texinfo/texinfo.SlackBuild b/source/ap/texinfo/texinfo.SlackBuild index 5698a1f7..c510e914 100755 --- a/source/ap/texinfo/texinfo.SlackBuild +++ b/source/ap/texinfo/texinfo.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=texinfo VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -87,6 +87,8 @@ find . \ # The --disable-perl-xs below prevents some perl extensions from being replaced # by C versions which have been known to choke over UTF-8 issues: +zcat $CWD/texinfo.fix.pt_BR.patch.gz | patch -p1 --verbose || exit 1 + CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ @@ -99,6 +101,7 @@ CFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux || exit 1 make $NUMJOBS || make || exit 1 +make update-po || exit 1 make install DESTDIR=$PKG || exit 1 gzip -9 $PKG/usr/info/*info* diff --git a/source/ap/texinfo/texinfo.fix.pt_BR.patch b/source/ap/texinfo/texinfo.fix.pt_BR.patch new file mode 100644 index 00000000..81cc90af --- /dev/null +++ b/source/ap/texinfo/texinfo.fix.pt_BR.patch @@ -0,0 +1,12 @@ +diff -urpN a/po/pt_BR.po b/po/pt_BR.po +--- a/po/pt_BR.po 2021-11-07 11:40:22.811103576 -0300 ++++ b/po/pt_BR.po 2021-11-07 11:38:34.141101550 -0300 +@@ -1039,7 +1039,7 @@ msgid "" + "Welcome to Info version %s. Type \\[get-help-window] for help, \\[get-info-" + "help-node] for tutorial." + msgstr "" +-"Bem vindo à versão Info %s. Digite \\[get-help-window] p/ ajuda,\\[get-inffo-" ++"Bem vindo à versão Info %s. Digite \\[get-help-window] p/ ajuda,\\[get-info-" + "help-node] p/ tutorial." + + #: info/session.c:1257 |