Snort mailing list archives

Re: [PATCH]: Fix build on DragonFlyBSD 3.x


From: Joshua Kinard <kumba () gentoo org>
Date: Tue, 18 Feb 2014 01:30:44 -0500

On 02/09/2014 9:51 PM, Joshua Kinard wrote:

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 :)

Refs:
1. https://hg.mozilla.org/mozilla-central/rev/186b0a9bd97b
2. https://bugzilla.mozilla.org/show_bug.cgi?id=787588
3. http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/01f31ab

Didn't see any feedback on this.  Did you guys open an internal bug or is
this a non-issue?

-- 
Joshua Kinard
Gentoo/MIPS
kumba () gentoo org
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.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Snort-devel mailing list
Snort-devel () lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/snort-devel
Archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=snort-devel

Please visit http://blog.snort.org for the latest news about Snort!


Current thread: