Caleb Maclennan pushed to branch main at Arch Linux / Packaging / Packages / 
gitlab


Commits:
cafb4698 by Jakub Klinkovský at 2024-05-20T13:00:57+00:00
Patches for GCC 14 and ICU 75

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -119,6 +119,10 @@ build() {
        # Gems will be installed into vendor/bundle
        # Remove -Werror=format-security from the CFLAGS used by the C 
extension of the google-protobuf gem
        bundle config --local build.google-protobuf "-- --with-cflags='$(ruby 
-r rbconfig -e 'print RbConfig::CONFIG["CFLAGS"]' | sed -e 
's/-Werror=format-security//')'"
+       # Avoid build errors due to -Werror=incompatible-pointer-types enabled 
by default in GCC 14
+       bundle config --local build.grpc "-- --with-cflags='$(ruby -r rbconfig 
-e 'print RbConfig::CONFIG["CFLAGS"]') -Wno-incompatible-pointer-types'"
+       # ICU 75 requires C++17
+       bundle config --local build.static_holmes "-- --with-cxxflags='$(ruby 
-r rbconfig -e 'print RbConfig::CONFIG["CXXFLAGS"]') -std=c++17'"
        bundle config --local build.gpgme --use-system-libraries # See 
https://bugs.archlinux.org/task/63654
        bundle config --local build.re2 --enable-system-libraries # See 
https://gitlab.archlinux.org/archlinux/packaging/packages/gitlab/-/issues/5
        bundle config --local force_ruby_platform true # some native gems are 
not available for newer ruby



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gitlab/-/commit/cafb469872e076f28e778f45dbe5790ccaa2ad14

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gitlab/-/commit/cafb469872e076f28e778f45dbe5790ccaa2ad14
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to