On Aug 10, 2009, at 12:12 AM, Mel Flynn wrote:

On Sunday 09 August 2009 18:31:55 Charles Howse wrote:
On Aug 9, 2009, at 3:42 PM, Mel Flynn wrote:
I've attached a patch that fixes the issue.

<blush>
Whoops, looks like I've stepped in over my head.
Exactly how do I use this patch?
</blush>

cd /usr/ports/www/mod_security
patch < /path/to/patch
make build

Whoops...

r...@curly /root# cd /usr/ports/www/mod_security
r...@curly /usr/ports/www/mod_security# patch < /usr/home/charles/ patch-www::mod_security.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- Makefile.orig      2009-08-05 12:31:21.000000000 -0800
|+++ Makefile   2009-08-09 12:34:34.000000000 -0800
--------------------------
Patching file Makefile using Plan A...
Hunk #1 succeeded at 47.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- /dev/null  2009-08-09 12:37:23.000000000 -0800
|+++ files/extra-patch-fix-6.x-link     2009-08-09 12:25:33.000000000 -0800
--------------------------
(Creating file files/extra-patch-fix-6.x-link...)
Patching file files/extra-patch-fix-6.x-link using Plan A...
Hunk #1 succeeded at 1.
done
r...@curly /usr/ports/www/mod_security# make build
===>  Building for mod_security-2.5.9_1
# XXX there is "mlogc-static" target in the Makefile, too
cd /usr/ports/www/mod_security/work/modsecurity-apache_2.5.9/apache2 && /usr/bin/env SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local X11BASE=/usr/local MOTIFLIB="-L/usr/local/lib - lXm -lXp" LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -fno-strict-aliasing - pipe" CXX="c++" CXXFLAGS="-O2 -fno-strict-aliasing -pipe" MANPREFIX="/ usr/local" BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555" BSD_INSTALL_DATA="install -o root -g wheel -m 444" BSD_INSTALL_MAN="install -o root -g wheel -m 444" make -f Makefile mlogc

Building dynamically linked mlogc...
/usr/local/lib/libapr-1.so: undefined reference to `pthread_yield'
/usr/local/lib/libapr-1.so: undefined reference to `pthread_attr_destroy'
/usr/local/lib/libapr-1.so: undefined reference to `pthread_create'
/usr/local/lib/libapr-1.so: undefined reference to `pthread_attr_init'
/usr/local/lib/libapr-1.so: undefined reference to `pthread_exit'
/usr/local/lib/libapr-1.so: undefined reference to `pthread_equal'
/usr/local/lib/libapr-1.so: undefined reference to `pthread_detach'
/usr/local/lib/libapr-1.so: undefined reference to `pthread_attr_setstacksize' /usr/local/lib/libapr-1.so: undefined reference to `pthread_attr_getdetachstate' /usr/local/lib/libapr-1.so: undefined reference to `pthread_attr_setguardsize' /usr/local/lib/libapr-1.so: undefined reference to `pthread_attr_setdetachstate'
/usr/local/lib/libapr-1.so: undefined reference to `pthread_join'
/usr/local/lib/libapr-1.so: undefined reference to `pthread_cond_timedwait'
*** Error code 1

Stop in /usr/ports/www/mod_security/work/modsecurity-apache_2.5.9/ apache2/mlogc-src.
*** Error code 1

Stop in /usr/ports/www/mod_security/work/modsecurity-apache_2.5.9/ apache2.
*** Error code 1

Stop in /usr/ports/www/mod_security.
*** Error code 1

Stop in /usr/ports/www/mod_security.
r...@curly /usr/ports/www/mod_security#

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to