FreeBSD Bugzilla – Attachment 36277 Details for
Bug 58226
[patch] ftp/kwebget: unbreak on 5.x
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
kwebget.diff
kwebget.diff (text/plain), 1.34 KB, created by
Markus Brueffer
on 2003-10-18 18:00:39 UTC
(
hide
)
Description:
kwebget.diff
Filename:
MIME Type:
Creator:
Markus Brueffer
Created:
2003-10-18 18:00:39 UTC
Size:
1.34 KB
patch
obsolete
>diff -ruN kwebget.orig/Makefile kwebget/Makefile >--- kwebget.orig/Makefile Sat Oct 18 18:14:19 2003 >+++ kwebget/Makefile Sat Oct 18 18:34:10 2003 >@@ -21,16 +21,12 @@ > USE_GMAKE= yes > GNU_CONFIGURE= yes > WRKSRC= ${WRKDIR}/${PORTNAME} >-CONFIGURE_TARGET= # empty >-CONFIGURE_ARGS+= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} >+USE_REINPLACE= yes > >-.include <bsd.port.pre.mk> >- >-.if ${OSVERSION} >= 500113 >-BROKEN= "Does not compile (bad C++ code)" >-.endif >+CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} > > post-patch: >- @${PERL} -pi -e 's#lqt#lqt2#g' ${WRKSRC}/configure ${WRKSRC}/kwebget/Makefile.in >+ @${REINPLACE_CMD} -e 's|-O2||g; s|-lpthread|${PTHREAD_LIBS}|g' \ >+ ${WRKSRC}/${CONFIGURE_SCRIPT} > >-.include <bsd.port.post.mk> >+.include <bsd.port.mk> >diff -ruN kwebget.orig/files/patch-kwebget.cpp kwebget/files/patch-kwebget.cpp >--- kwebget.orig/files/patch-kwebget.cpp Thu Jan 1 01:00:00 1970 >+++ kwebget/files/patch-kwebget.cpp Sat Oct 18 18:27:50 2003 >@@ -0,0 +1,11 @@ >+--- kwebget/kwebget.cpp.orig Sat Oct 18 18:26:29 2003 >++++ kwebget/kwebget.cpp Sat Oct 18 18:26:50 2003 >+@@ -15,6 +15,8 @@ >+ * * >+ ***************************************************************************/ >+ >++#include <stdlib.h> >++ >+ #include "kwebget.h" >+ >+ #include "../pics/bg.xpm"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 58226
: 36277