diff --git a/audio/vsound/Makefile b/audio/vsound/Makefile index 19376eaf687b..5b6370ea0ba4 100644 --- a/audio/vsound/Makefile +++ b/audio/vsound/Makefile @@ -1,32 +1,30 @@ PORTNAME= vsound PORTVERSION= 0.6 PORTREVISION= 7 CATEGORIES= audio MASTER_SITES= http://download.nus.edu.sg/mirror/gentoo/distfiles/65/ \ http://freebsd.nsu.ru/distfiles/ LOCAL/danfe MAINTAINER= danfe@FreeBSD.org COMMENT= Utility for capturing audio streams from programs with OSS output WWW= http://web.archive.org/web/20210502033331/http://www.vsound.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN_riscv64= fails to compile: vsound.c:101:4: Endian guess seems incorrect. - BUILD_DEPENDS= sox:audio/sox RUN_DEPENDS= sox:audio/sox USES= alias libtool GNU_CONFIGURE= yes OPTIONS_DEFINE= DOCS post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/vsound/libvsound.so post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/audio/vsound/files/patch-configure b/audio/vsound/files/patch-configure index eedbb4de6b0b..e6a5f88d00ae 100644 --- a/audio/vsound/files/patch-configure +++ b/audio/vsound/files/patch-configure @@ -1,46 +1,46 @@ --- configure.orig 2004-07-10 18:34:52 UTC +++ configure @@ -1183,21 +1183,21 @@ fi echo "$ac_t""$CPP" 1>&6 -for ac_hdr in endian.h +for ac_hdr in sys/endian.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:1191: checking for $ac_hdr" >&5 +echo "configure:1202: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1201: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1212: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -1233,7 +1233,7 @@ else ac_cv_cpu_endian_ness="unknown" case "$target_cpu" in - alpha* | i?86 ) -+ alpha* | i?86 | ia64* | amd64* | aarch64 | arm* | x86_64*) ++ alpha* | i?86 | ia64* | amd64* | aarch64 | arm* | x86_64* | riscv*) ac_cv_cpu_endian_ness="little" ;; @@ -1941,7 +1941,7 @@ if test "$dlopen_found" = no; then fi if test "$ac_cv_prog_gcc" = yes ; then - CFLAGS="-g -O2 -Wall -Wstrict-prototypes -pipe" + CFLAGS="-g $CFLAGS -Wall -Wstrict-prototypes -pipe" fi if test "$ac_arg_debug" = yes; then