diff options
Diffstat (limited to 'office/antiword/antiword.SlackBuild')
-rw-r--r-- | office/antiword/antiword.SlackBuild | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/office/antiword/antiword.SlackBuild b/office/antiword/antiword.SlackBuild index d30a01d72d..79253ffcf7 100644 --- a/office/antiword/antiword.SlackBuild +++ b/office/antiword/antiword.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=antiword VERSION=${VERSION:-0.37} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -73,6 +73,17 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION + +# apply some patches from debian +# see https://framagit.org/medoc92/recoll-antiword +patch -p1 < $CWD/10_fix_buffer_overflow_wordole_c.patch +patch -p1 < $CWD/30_kantiword.patch +patch -p1 < $CWD/40_desktop_files.patch +patch -p1 < $CWD/50_antiword-manpage-hyphen-to-minus.patch +patch -p1 < $CWD/docx.patch +patch -p1 < $CWD/remove-cjb.net-references.patch +patch -p1 < $CWD/use-snprintf.patch + chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ |