Skip to content

Commit

Permalink
sccs: fix build with gcc14
Browse files Browse the repository at this point in the history
  • Loading branch information
citrus-it committed Dec 3, 2024
1 parent 37ae264 commit 82a7595
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions build/sccs/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@
# http://www.illumos.org/license/CDDL.
# }}}

# Copyright 2022 OmniOS Community Edition (OmniOSce) Association.
# Copyright 2024 OmniOS Community Edition (OmniOSce) Association.

. ../../lib/build.sh

PROG=sccs
VER=5.09
DASHREV=1
PKG=developer/versioning/sccs
SUMMARY="Source Code Control System (SCCS)"
DESC="The POSIX standard Source Code Control System (SCCS)"
Expand All @@ -39,16 +40,23 @@ configure_arch() { :; }
MAKE="dmake"
MAKE_ARGS="CCOM=gcc32"
MAKE_ARGS_WS="
COPTX=\"$CTF_CFLAGS $SSPFLAGS\"
LDOPTX=\"$CTF_CFLAGS $SSPFLAGS\"
COPTX=\"$CTF_CFLAGS $SSPFLAGS -fpermissive\"
LDOPTX=\"$CTF_CFLAGS $SSPFLAGS -fpermissive\"
"
MAKE_INSTALL_ARGS="$MAKE_ARGS"

run_test() {
egrep -s '#[[:space:]]*define[[:space:]]*SIZEOF_INT[[:space:]]*4$' \
$TMPDIR/$BUILDDIR/include/schily/xmconfig.h \
|| logerr "Configure failed to detect type sizes"
}

init
prep_build
download_source $PROG $PROG $VER
patch_source
build
run_test
make_package
clean_up

Expand Down

0 comments on commit 82a7595

Please sign in to comment.