- Fix build with gcc 3.4 [1]

- Fix build on amd64

Reported by:	pointyhat via kris [1]
This commit is contained in:
Markus Brueffer 2004-08-14 00:19:30 +00:00
parent 39b9a98c25
commit 08363af9ca
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116164
2 changed files with 11 additions and 1 deletions

View file

@ -22,7 +22,7 @@ post-extract:
@${TOUCH} ${WRKSRC}/config.h.in
post-patch:
@${REINPLACE_CMD} -e 's|-O2||g; s|-lpthread|${PTHREAD_LIBS}|g' \
@${REINPLACE_CMD} -e 's|-O2|-fPIC|g; s|-lpthread|${PTHREAD_LIBS}|g' \
${WRKSRC}/${CONFIGURE_SCRIPT}
post-install:

View file

@ -0,0 +1,10 @@
--- src/krefty_part.cpp.orig Sat Aug 14 02:13:08 2004
+++ src/krefty_part.cpp Sat Aug 14 02:13:22 2004
@@ -197,6 +197,6 @@
{
return new KreftyPartFactory;
}
-};
+}
#include "krefty_part.moc"