Date: Tuesday, June 28, 2022 @ 08:31:00
  Author: heftig
Revision: 1239811

0.7.2-2: https://github.com/neovim/neovim/issues/19125

Modified:
  neovim/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-06-28 08:28:06 UTC (rev 1239810)
+++ PKGBUILD    2022-06-28 08:31:00 UTC (rev 1239811)
@@ -5,7 +5,7 @@
 
 pkgname=neovim
 pkgver=0.7.2
-pkgrel=1
+pkgrel=2
 pkgdesc='Fork of Vim aiming to improve user experience, plugins, and GUIs'
 arch=('x86_64')
 url='https://neovim.io'
@@ -23,13 +23,20 @@
 
sha512sums=('04d0fa5b23018531b70b53271821bf6944cde1bcec2210b99f5888e1339cd38f57feaa8e40874a3a504930e6614980947f31852185cbcd2ce106a0867896dd79')
 
 build() {
-  export PKG_CONFIG_PATH="/usr/lib/libvterm01/pkgconfig:$PKG_CONFIG_PATH"
+  # Neovim does not support libvterm 0.2 yet
+  export PKG_CONFIG_PATH="/usr/lib/libvterm01/pkgconfig"
+
+  # Neovim breaks with GCC 12
+  # https://github.com/neovim/neovim/issues/19125
+  CFLAGS+=" -fno-strict-aliasing"
+
   cmake \
     -Bbuild \
     -GNinja \
-    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_BUILD_TYPE=None \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DUSE_BUNDLED=OFF \
+    -DMIN_LOG_LEVEL=3 \
     -W no-dev \
     -S neovim-$pkgver
   cmake --build build --verbose

Reply via email to