On Sun, Aug 10, 2014 at 02:59:29PM +0530, Ashish SHUKLA wrote: > Hi, > > This snapshot fails to build on FreeBSD: > > --8<---------------cut here---------------start------------->8--- > /usr/bin/make all-recursive > Making all in src > /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. > -I../src -I../openbsd-compat -I/usr/local/include -DASR_OPT_THREADSAFE=0 -O2 > -g -march=corei7 -I/usr/local/include -fstack-protector -fno-strict-aliasing > -fPIC -DPIC -Qunused-arguments -Wunknown-warning-option -Wall -Wpointer-arith > -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess > -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -fno-builtin-memset > -MT libasr_la-asr.lo -MD -MP -MF .deps/libasr_la-asr.Tpo -c -o > libasr_la-asr.lo `test -f 'asr.c' || echo './'`asr.c > libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I../src > -I../openbsd-compat -I/usr/local/include -DASR_OPT_THREADSAFE=0 -O2 -g > -march=corei7 -I/usr/local/include -fstack-protector -fno-strict-aliasing > -fPIC -DPIC -Qunused-arguments -Wunknown-warning-option -Wall -Wpointer-arith > -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess > -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -fno-builtin-memset > -MT libasr_la-asr.lo -MD -MP -MF .deps/libasr_la-asr.Tpo -c asr.c -fPIC > -DPIC -o .libs/libasr_la-asr.o > In file included from asr.c:18: > In file included from ../openbsd-compat/includes.h:77: > ../openbsd-compat/openbsd-compat.h:178:17: error: unknown type name 'FILE' > char * fparseln(FILE *fp, size_t *size, size_t *lineno, const char str[3], > int flags); > ^ > 1 error generated. > *** [libasr_la-asr.lo] Error code 1 > --8<---------------cut here---------------end--------------->8--- > > Following is a possible fix: > > --8<---------------cut here---------------start------------->8--- > --- openbsd-compat/openbsd-compat.h.orig > +++ openbsd-compat/openbsd-compat.h > @@ -172,6 +172,8 @@ > #include <stdio.h> > #include <string.h> > char * fgetln(FILE *stream, size_t *len); > +#else > +#include <stdio.h> > #endif > > #ifndef HAVE_FPARSELN > --8<---------------cut here---------------end--------------->8--- >
I'll fix this today > Also a question, are you guys planning to do releases (major.minor), or just > snapshots ? Context: Should I be creating two FreeBSD ports, or just one ? > Yes there are plans to do releases. -- Gilles Chehade https://www.poolp.org @poolpOrg -- You received this mail because you are subscribed to [email protected] To unsubscribe, send a mail to: [email protected]
