Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134048 - dev-libs/zziplib-0.13.45 does not compile on Gentoo/FBSD
Summary: dev-libs/zziplib-0.13.45 does not compile on Gentoo/FBSD
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: High normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-22 12:36 UTC by Robert Sebastian Gerus
Modified: 2006-05-23 05:38 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
zziplib-0.13.45-freebsd.patch (zziplib-0.13.45-freebsd.patch,339 bytes, patch)
2006-05-22 12:37 UTC, Robert Sebastian Gerus
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Sebastian Gerus 2006-05-22 12:36:32 UTC
dev-libs/zziplib-0.13.45 does not compile on Gentoo/FBSD. a typical missing #include <sys/types.h> (I actually start to wonder if it's not actually some auto* issue)
Comment 1 Robert Sebastian Gerus 2006-05-22 12:37:23 UTC
Created attachment 87273 [details, diff]
zziplib-0.13.45-freebsd.patch
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-05-22 15:01:58 UTC
I would put it either unconditional or under autoconf check.

Vapier, Mr_Bones_, tell me what you prefer :)
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2006-05-22 20:07:58 UTC
I don't have a problem with it being unconditional.  sys/types.h should always be available for unix.
Comment 4 SpanKY gentoo-dev 2006-05-22 23:43:29 UTC
well lets look at the rest of the code

zzipwrap/wrap.c always includes sys/types.h

zzip/file.h checks ZZIP_HAVE_SYS_TYPES_H

pick your poison and make sure you send it upstream :P
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-05-23 05:38:55 UTC
Actually upstream already resolved this. Anyway, patch applied with unconditional sys/types.h and keyword added. Thanks Robert, thanks guys :)