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.
This commit is contained in:
OscarL
2023-01-03 10:27:59 -03:00
committed by GitHub
parent 47e2a9baa7
commit 90c989f94e

View File

@@ -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
}