ag: Prevent generate different versions after git patch applying

This commit is contained in:
Alexey Pavlov
2017-06-30 07:54:13 +03:00
parent 3208638a0e
commit 962ea2a009

View File

@@ -43,13 +43,13 @@ pkgver() {
prepare() {
cd "${srcdir}"/${_realname}
git am "${srcdir}"/0001-lang-Allow-both-extensions-and-full-filenames.patch
git am "${srcdir}"/0002-win32-Detect-Cygwin-MSYS-PTY.patch
git am "${srcdir}"/0003-options-Fix-ordering-problems-with-color.patch
git am "${srcdir}"/0004-lang-Add-autotools-ac-am-in-m4-pc.patch
git am "${srcdir}"/0005-lang-Add-to-make-Makefile-Makefile.Debug-Makefile.Re.patch
git am "${srcdir}"/0006-lang-Add-makepkg-PKGBUILD-diff-patch-in-install.patch
git am "${srcdir}"/0007-lang-Add-cmake-CMakeLists.txt-CMakeCache.txt.patch
git am --committer-date-is-author-date "${srcdir}"/0001-lang-Allow-both-extensions-and-full-filenames.patch
git am --committer-date-is-author-date "${srcdir}"/0002-win32-Detect-Cygwin-MSYS-PTY.patch
git am --committer-date-is-author-date "${srcdir}"/0003-options-Fix-ordering-problems-with-color.patch
git am --committer-date-is-author-date "${srcdir}"/0004-lang-Add-autotools-ac-am-in-m4-pc.patch
git am --committer-date-is-author-date "${srcdir}"/0005-lang-Add-to-make-Makefile-Makefile.Debug-Makefile.Re.patch
git am --committer-date-is-author-date "${srcdir}"/0006-lang-Add-makepkg-PKGBUILD-diff-patch-in-install.patch
git am --committer-date-is-author-date "${srcdir}"/0007-lang-Add-cmake-CMakeLists.txt-CMakeCache.txt.patch
# configure.ac forces -O2, so force it to -O0 if debugging.
if check_option "debug" "y"; then