diff options
Diffstat (limited to 'development/cgit/cgit.SlackBuild')
-rw-r--r-- | development/cgit/cgit.SlackBuild | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/development/cgit/cgit.SlackBuild b/development/cgit/cgit.SlackBuild index 49bca2536b7da..b55f3a57391e3 100644 --- a/development/cgit/cgit.SlackBuild +++ b/development/cgit/cgit.SlackBuild @@ -23,7 +23,7 @@ PRGNAM=cgit VERSION=${VERSION:-1.1} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} DOCROOT=${DOCROOT:-/var/www} @@ -78,6 +78,17 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# apply some upstream patches +patch -p1 < $CWD/patches/0004-syntax-highlighting-replace-invalid-unicode-with.patch +patch -p1 < $CWD/patches/0005-ui-patch-fix-crash-when-using-path-limit.patch +patch -p1 < $CWD/patches/0006-ui-repolist-properly-sort-by-age.patch +patch -p1 < $CWD/patches/0007-Remove-unused-variable-from-sort_section.patch +patch -p1 < $CWD/patches/0011-ui-atom-properly-escape-delimiter-in-page-link.patch +patch -p1 < $CWD/patches/0012-ui-shared-don-t-print-path-crumbs-without-a-repo.patch +patch -p1 < $CWD/patches/0013-parsing-clear-query-path-before-starting.patch +patch -p1 < $CWD/patches/0014-cgit-don-t-set-vpath-unless-repo-is-set.patch +patch -p1 < $CWD/patches/0015-ui-plain-print-symlink-content.patch + # prepare sources sed -i Makefile \ -e "s|-g -Wall -Igit|-Wall ${SLKCFLAGS} -Igit|" \ |