Description of problem: #include <endian.h> Version-Release number of selected component (if applicable): 4.4.1-0.14 How reproducible: Always, on Darwin and other *BSD too probably. Steps to Reproduce: 1. Build on BSD 2. 3. Actual results: sqlite.c:39:20: endian.h: No such file or directory sqlite.c: In function `sql_initDB': sqlite.c:494: error: `__BYTE_ORDER' undeclared (first use in this function) sqlite.c:494: error: (Each undeclared identifier is reported only once sqlite.c:494: error: for each function it appears in.) Expected results: (compile OK) Additional info: On BSD, the stuff is in <machine/endian.h> and without underscores. Most likely, these needs to be automangled... (check for endian.h)
Created attachment 110494 [details] patch-sqllite.diff needs better #ifdef
Nah, easier to do a runtime test than chase vendor peculiarities. Will do soonishly, thanks for the report.
Vendor and vendor.. It's yet another BSD-versus-Linux issue. (I just used __APPLE__ since I knew that, without a lookup) But whatever autoconf/automake is easiest to do, would work...
Runtime test in rpm-4_4 sqlite.c, also rpm-4.4.1-0.13 ftp://jbj.org/pub/rpm-macosx getmntinfo is used there as well.