snort-devel February 2014 archive
Main Archive Page > Month Archives  > snort-devel archives
snort-devel: [Snort-devel] [PATCH]: Fix build on DragonFlyBSD 3.

[Snort-devel] [PATCH]: Fix build on DragonFlyBSD 3.x

From: Joshua Kinard <kumba_at_nospam>
Date: Mon Feb 10 2014 - 02:51:59 GMT
To: snort-devel mailinglist <>

Hi snort-devel,

Experimenting w/ DragonFlyBSD, I ran into a build issue in
src/dynamic-plugins/sf_dynamic_plugins.c in which 'struct direct' has no
member 'd_reclen'. This is apparently because DragonFlyBSD supports 64-bit
inodes and does not need this variable. I found a fix on Mozilla Bug
#787588 that uses the '_DIRENT_DIRSIZ' macro from DFBSD's 'dirent.h' header
and adapted it into a simple patch. Builds and runs a simple test now :)


-- Joshua Kinard Gentoo/MIPS 4096R/D25D95E3 2011-03-28 "The past tempts us, the present confuses us, the future frightens us. And our lives slip away, moment by moment, lost in that vast, terrible in-between." --Emperor Turhan, Centauri Republic

Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.

Snort-devel mailing list

Please visit for the latest news about Snort!