0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 13:46:16 +00:00
termux-packages/x11-packages/qb64/internal-c-parts-video-font-ttf-os-lnx-setup_build.sh.patch
Fredrik Fornwall 2e744f53e2 fix(x11/qb64): Fix build with current toolchain
Specify `-std=cxx++` to fix multiple build error occurrences of:

> error: ISO C++17 does not allow 'register' storage class specifier
2024-07-09 20:46:09 +02:00

9 lines
493 B
Diff

diff -u -r ../qb64-2.0.2/internal/c/parts/video/font/ttf/os/lnx/setup_build.sh ./internal/c/parts/video/font/ttf/os/lnx/setup_build.sh
--- ../qb64-2.0.2/internal/c/parts/video/font/ttf/os/lnx/setup_build.sh 2021-11-06 20:58:58.000000000 +0000
+++ ./internal/c/parts/video/font/ttf/os/lnx/setup_build.sh 2024-07-09 14:32:29.696163712 +0000
@@ -1,3 +1,3 @@
#!/bin/sh
-g++ -s -c -w -Wall ../../src/freetypeamalgam.c -o src.o
+g++ -std=c++11 -s -c -w -Wall ../../src/freetypeamalgam.c -o src.o