# Openbsd 4.0 and Bro 1.2x patch

**URL:** https://community.zeek.org/t/openbsd-4-0-and-bro-1-2x-patch/1131
**Category:** Zeek
**Created:** [February 22, 2007, 7:25pm UTC](https://community.zeek.org/t/openbsd-4-0-and-bro-1-2x-patch/1131 "2007-02-22T19:25:44Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Jake\_Mailinglists](https://avatars.discourse-cdn.com/v4/letter/j/f17d59/32.png) [@Jake\_Mailinglists](https://community.zeek.org/u/Jake_Mailinglists)
#### Post date: [February 22, 2007, 7:25pm UTC](https://community.zeek.org/t/openbsd-4-0-and-bro-1-2x-patch/1131/1 "2007-02-22T19:25:44Z")

</div>

List,  
Thought this might be helpful to the people working on getting bro 1.2.x working on the OpenBSD 4.0 platforms.  
A big thanks to JP for the help and patience…

Step 1 - copy the attached [configure.in](http://configure.in/) file into the “bro-1.2.x” directory  
Step 2 - patch the source with the attached patch or copy the attached \*.cc and \*.h files into the “src” directory  
Step 3 - run “autoconf-version-number” (example autoconf-2.60) from the “bro-1.2x” directory and then run “./configure --with-your-options”  
Step 4 - add this to the end of the line for “LIBS=” in your Makefile in the src directory “-lm”. This fixes the error on Openbsd for “strlcpy vs strcpy”

Let me know if this doesn’t work.

Jake

[OPENBSD40\_BRO121.zip](https://community.zeek.org/uploads/short-url/uCIPu7lvP2zemvQ0aeomckXW8i5.zip) (44.3 KB)

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/f09d732bc2cc7c7cc7e35db67cf4e1d5233ce7a7.png) [@system](https://community.zeek.org/u/system)
#### Post date: [May 6, 2022, 3:38pm UTC](https://community.zeek.org/t/openbsd-4-0-and-bro-1-2x-patch/1131/2 "2022-05-06T15:38:10Z")

</div>


