source-highlight: Update to 3.1.9

This commit is contained in:
Alexey Pavlov
2019-11-05 23:51:59 +03:00
parent 27047bb1b5
commit bf64a72386
2 changed files with 5 additions and 21 deletions

View File

@@ -3,8 +3,8 @@
_realname=source-highlight
pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
pkgver=3.1.8
pkgrel=3
pkgver=3.1.9
pkgrel=1
pkgdesc="Convert source code to syntax highlighted document (mingw-w64)"
arch=('any')
url="https://www.gnu.org/software/src-highlite/"
@@ -14,11 +14,9 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-ctags"
"${MINGW_PACKAGE_PREFIX}-doxygen"
"${MINGW_PACKAGE_PREFIX}-graphviz")
source=("https://ftp.gnu.org/gnu/src-highlite/${_realname}-${pkgver}.tar.gz"
"3.1.4-no-undefined.patch"
"fix-zsh-highlighting-hangups.patch")
sha256sums=('01336a7ea1d1ccc374201f7b81ffa94d0aecb33afc7d6903ebf9fbf33a55ada3'
'971063177b338e9a037b755c9ade11f8a2d6ec44be576da24e0a73d33fe63fc7'
'11248760543ffd9801a2ce40e7fbf7c511c56f82b4c0338b1b79518d37685327')
"3.1.4-no-undefined.patch")
sha256sums=('3a7fd28378cb5416f8de2c9e77196ec915145d44e30ff4e0ee8beb3fe6211c91'
'971063177b338e9a037b755c9ade11f8a2d6ec44be576da24e0a73d33fe63fc7')
apply_patch_with_msg() {
for _patch in "$@"
@@ -48,7 +46,6 @@ del_file_exists() {
prepare() {
cd "$srcdir"/${_realname}-${pkgver}
apply_patch_p2_with_msg 3.1.4-no-undefined.patch
apply_patch_with_msg fix-zsh-highlighting-hangups.patch
autoreconf -fiv
}

View File

@@ -1,13 +0,0 @@
diff --git a/src/zsh.lang b/src/zsh.lang
index 69542a7..a0bac36 100644
--- a/src/zsh.lang
+++ b/src/zsh.lang
@@ -35,7 +35,7 @@ keyword = "alias|always|autoload|bg|bindkey|break|builtin",
"unlimit|unset|unsetopt|until|vared|wait|whence",
"where|which|while|zcompile|zformat|zftp|zle",
"zmodload|zparseopts|zprof|zpty|zregexparse",
- "zsocket|zstyle|ztcp|"
+ "zsocket|zstyle|ztcp"
variable = '\$\{([^[:blank:]]+)\}'
variable = '\$\(([^[:blank:]]+)\)'