Opened 11 years ago

Closed 11 years ago

#2620 closed patch (fixed)

[raster] Debian kFreeBSD not recognized as FreeBSD-like

Reported by: mwanner Owned by: dustymugs
Priority: medium Milestone: PostGIS 2.1.2
Component: raster Version: 2.1.x
Keywords: Cc:

Description

postgis-2.1.1 fails to build on Debian kFreeBSD, because postgis doesn't recognize it a running a FreeBSD kernel. This can be fixed easily with the provided patch. (Which applies to 2.1.1, but librtcore.h from trunk looks similar enough…)

Attachments (1)

fix-kfreebsd (449 bytes ) - added by mwanner 11 years ago.
patch - minor change to allow Debian kFreeBSD to be recognized as FreeBSD

Download all attachments as: .zip

Change History (5)

by mwanner, 11 years ago

Attachment: fix-kfreebsd added

patch - minor change to allow Debian kFreeBSD to be recognized as FreeBSD

comment:1 by robe, 11 years ago

Component: postgisraster
Owner: changed from pramsey to dustymugs
Summary: Debian kFreeBSD not recognized as FreeBSD-like[raster] Debian kFreeBSD not recognized as FreeBSD-like

switching to raster since its part of raster code base.

comment:2 by dustymugs, 11 years ago

Status: newassigned

comment:3 by robe, 11 years ago

I'm going to assume that FreeBSD_kernel is true for FreeBSD systems. That's the only thing I wasn't sure about with this patch. committed at r12336 for 2.1 branch.

Now as for trunk (2.2) , I don't see the rt_core/rt_api.h file — dustymugs — what happened to it. Not sure what file to patch if any.

I don't have a FreeBSD to test with unfortunately so can't confirm it won't break FreeBSD. dustymugs or mwanner can you confirm this is not an issue?

comment:4 by robe, 11 years ago

Resolution: fixed
Status: assignedclosed

I'm a sloppy reader. Applied to trunk in librtcore.h at r12337.

I'm going to close this out to get it out of the queue - feel free to reopen if you run into issues.

Note: See TracTickets for help on using tickets.