discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
* betoh64
@ 2013-03-07 19:28 Thomas Klausner
  2013-05-19 23:56 ` betoh64 Ingo Schwarze
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Klausner @ 2013-03-07 19:28 UTC (permalink / raw)
  To: discuss

Hi!

The latest release, 1.12.1, from last March doesn't build on NetBSD because of
apropos_db.c: In function ‘btree_read’:
apropos_db.c:181:2: warning: implicit declaration of function ‘betoh64’
...
cc  -o apropos apropos.o apropos_db.o manpath.o libmandoc.a 
apropos_db.o: In function `btree_read':
/tmp/mdocml-1.12.1/apropos_db.c:181: undefined reference to `betoh64'
/tmp/mdocml-1.12.1/apropos_db.c:182: undefined reference to `betoh64'
*** Error code 1

config.h just has
#if defined(__APPLE__)
# define htobe32(x) OSSwapHostToBigInt32(x)
# define betoh32(x) OSSwapBigToHostInt32(x)
# define htobe64(x) OSSwapHostToBigInt64(x)
# define betoh64(x) OSSwapBigToHostInt64(x)
#elif defined(__linux__)
# define betoh32(x) be32toh(x)
# define betoh64(x) be64toh(x)
#endif

and the Makefile assumes this macro must exist.

I saw on cvsweb that the current source does not contain the file
apropos_db.c any longer.

Does anyone have a patch for 1.12.1?

Or is it perhaps time for an 1.13 release?

Cheers,
 Thomas
--
 To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-05-20  9:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-07 19:28 betoh64 Thomas Klausner
2013-05-19 23:56 ` betoh64 Ingo Schwarze
2013-05-20  9:52   ` betoh64 Thomas Klausner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).