From 2272318d3eed62d4fac190bcd26cea82e0cb557d Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 25 May 2024 11:36:45 -0500 Subject: system/heirloom-devtools: Use C++98 standard This fixes a build error with newer GCC that defaults to the C++17 standard. Basic operation was tested and remains functional. It would be a *lot* better to rearchitect this, especially with how many times it hits -Wwrite-strings. Anyone willing to do that work would be highly praised :) --- system/heirloom-devtools/APKBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/heirloom-devtools/APKBUILD b/system/heirloom-devtools/APKBUILD index c6ca8892f..cbf0633d5 100644 --- a/system/heirloom-devtools/APKBUILD +++ b/system/heirloom-devtools/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: A. Wilcox pkgname=heirloom-devtools pkgver=070527 -pkgrel=1 +pkgrel=2 pkgdesc="Development tools compatible with UNIX" url="http://heirloom.sourceforge.net/devtools.html" arch="all" @@ -20,7 +20,7 @@ source="https://downloads.sourceforge.net/heirloom/heirloom-devtools/$pkgver/hei $pkgname-$pkgver-64-bit.patch" build() { - make -j1 CXXFLAGS="${CXXFLAGS} -DMAXNETNAMELEN=255" + make -j1 CXXFLAGS="${CXXFLAGS} -DMAXNETNAMELEN=255 -std=c++98" } package() { -- cgit v1.2.3-70-g09d2