From 90c989f94e08fcd136e06b907247aee217a0f90d Mon Sep 17 00:00:00 2001 From: OscarL Date: Tue, 3 Jan 2023 10:27:59 -0300 Subject: [PATCH] seeks: mark as disabled. (#7720) Seems to have been broken for a long time. No builds on Haiku Depot. Added some comments and workarounds that help the build progress further, but still are not enough. --- www-aps/seeks/seeks-0.4.1.recipe | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/www-aps/seeks/seeks-0.4.1.recipe b/www-aps/seeks/seeks-0.4.1.recipe index 25a09d1af..b4d88ee78 100644 --- a/www-aps/seeks/seeks-0.4.1.recipe +++ b/www-aps/seeks/seeks-0.4.1.recipe @@ -15,8 +15,8 @@ SOURCE_URI="https://sf.net/projects/seeks/files/hippy/seeks-$portVersion.tar.gz" CHECKSUM_SHA256="b890f2e95ab0161e0be6f82cfc224f9cf6e49ce69d18bf3decddb91fb85cebde" PATCHES="seeks-$portVersion.patchset" -ARCHITECTURES="all !x86_gcc2" -SECONDARY_ARCHITECTURES="x86" +ARCHITECTURES="!all !x86_gcc2" +SECONDARY_ARCHITECTURES="!x86" GLOBAL_WRITABLE_FILES=" settings/seeks/config keep-old @@ -93,10 +93,18 @@ BUILD() { export CFLAGS="-D_BSD_SOURCE" export LDFLAGS="-lbsd -liconv" - export CXXLAGS="-D_BSD_SOURCE" + # needs "-std=c++98" to avoid C++11/C++17 incompatibilities. + export CXXFLAGS="-D_BSD_SOURCE -std=c++98" autoreconf -vfi runConfigure ./configure + + # autotools keeps picking up gethostbyaddr_r() from + # libnetwork/gethostbyname.c + # We need that one disabled here + sed -i '/#define HAVE_GETHOSTBYADDR_R 1/d' ./config.h + # Lots of hard to pinpoint type errors without the following: + sed -i '/#define FEATURE_ICU 1/d' ./config.h make $jobArgs }