devel/boehm-gc fails to compile on amd64 when option THREADING is defined. Included patch just adds the missing macros. I have not tested it in other means than: 1. it compiles ok; 2. make check does not emit errors. I indulged in adding a check target to aid with testing, fixing the innocent configure warning and changing HAS_CONFIGURE to GNU_CONFIGURE, because it is GNU configure we actually have. How-To-Repeat: # uname -m amd64 /usr/ports/devel/boehm-gc# make clean rmconfig /usr/ports/devel/boehm-gc# make (turn on THREADING) ... cc -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION=\"6.6\" "-DPACKAGE_STRING=\"gc 6.6\"" -DPACKAGE_BUGREPORT=\"Hans.Boehm@hp.com\" -DGC_VERSION_MAJOR=6 -DGC_VERSION_MINOR=6 -DPACKAGE=\"gc\" -DVERSION=\"6.6\" -DGC_FREEBSD_THREADS=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -I./include -pthread -fexceptions -pipe -g -march=athlon64 -fexceptions -MT pthread_support.lo -MD -MP -MF .deps/pthread_support.Tpo -c pthread_support.c -fPIC -DPIC -o .libs/pthread_support.lo pthread_support.c: In function `GC_pthread_sigmask': pthread_support.c:965: error: `SIGRTMIN' undeclared (first use in this function) pthread_support.c:965: error: (Each undeclared identifier is reported only once pthread_support.c:965: error: for each function it appears in.) *** Error code 1 Stop in /usr/ports/devel/boehm-gc/work/gc6.6. *** Error code 1 Stop in /usr/ports/devel/boehm-gc/work/gc6.6. *** Error code 1 Stop in /usr/ports/devel/boehm-gc.
Responsible Changed From-To: freebsd-ports-bugs->nobutaka Over to maintainer.
State Changed From-To: open->closed Committed, thanks!