Date: Tuesday, January 19, 2021 @ 21:58:39
  Author: eworm
Revision: 823904

revert to antlr4-runtime 4.8-1

Building mysql-workbench fails with:

[ 90%] Linking CXX executable genwrap
/usr/bin/ld: 
/build/mysql-workbench/src/mysql-workbench-community-8.0.23-src-build/library/parsers/libparsers.so.8.0.23:
 undefined reference to 
`antlr4::ANTLRInputStream::ANTLRInputStream(std::basic_string_view<char, 
std::char_traits<char> >)'
collect2: error: ld returned 1 exit status

Modified:
  antlr4-runtime/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2021-01-19 21:55:06 UTC (rev 823903)
+++ PKGBUILD    2021-01-19 21:58:39 UTC (rev 823904)
@@ -1,23 +1,21 @@
 # Maintainer: Christian Hesse <m...@eworm.de>
 
 pkgname=antlr4-runtime
-pkgver=4.9.1
+pkgver=4.8
 pkgrel=1
 pkgdesc='Antlr C++ runtime'
 url='https://www.antlr.org/'
 arch=('x86_64')
 depends=('gcc-libs')
-makedepends=('git' 'cmake')
 license=('BSD')
+makedepends=('cmake')
 
source=("https://www.antlr.org/download/antlr4-cpp-runtime-${pkgver}-source.zip";)
-sha256sums=('21647f9d5c55d13f2297e3f61e5dd68283e439983c27bd899f9c8a725bbea7b5')
+sha256sums=('58c9c8f83ed2b2224a047a2ca8af8c7ca2f45bc13ff30bd8777ce65ba81d6d11')
 
 build() {
   mkdir build
   cd build
-  cmake .. \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr
+  cmake .. -DCMAKE_INSTALL_PREFIX=/usr
   make
 }
 

Reply via email to