FreeBSD Bugzilla – Attachment 138731 Details for
Bug 184814
ftp/multiget: Fix build with clang
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.41 KB, created by
tkato432
on 2013-12-16 18:10:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2013-12-16 18:10:01 UTC
Size:
2.41 KB
patch
obsolete
>diff -urN /usr/ports/ftp/multiget/Makefile ftp/multiget/Makefile >--- /usr/ports/ftp/multiget/Makefile 2013-11-06 21:49:12.000000000 +0900 >+++ ftp/multiget/Makefile 2013-12-17 00:00:00.000000000 +0900 >@@ -3,29 +3,40 @@ > > PORTNAME= multiget > PORTVERSION= 1.1.3 >-PORTREVISION= 6 >+PORTREVISION= 7 > CATEGORIES= ftp www > MASTER_SITES= SF/${PORTNAME}/OldFiles > > MAINTAINER= ports@FreeBSD.org >-COMMENT= An http/ftp downloader with a nice GUI >+COMMENT= HTTP/FTP downloader with a nice GUI > >+WRKSRC_SUBDIR= src >+ >+USES= dos2unix > USE_WX= 2.6+ > MAKEFILE= makefile > ALL_TARGET= MultiGet >-WRKSRC= ${WRKDIR}/${DISTNAME}/src > >-PLIST_FILES= bin/${PORTNAME} >+PLIST_FILES= bin/${PORTNAME} share/pixmaps/MultiGet.png >+ >+DESKTOP_ENTRIES="MultiGet" "" "${PREFIX}/share/pixmaps/MultiGet.png" \ >+ "${PORTNAME}" "" "" > >-NO_STAGE= yes > post-patch: > @${REINPLACE_CMD} -e \ >- 's|g++|${CXX}|; \ >- s|\(CFLAGS\) =|\1 +=|; \ >- s|wx-config|${WX_CONFIG}|' \ >+ 's|$$(CC)|$$(CXX)| ; \ >+ s|$$(CFLAGS)|$$(CXXFLAGS)| ; \ >+ s|^CC =|CXX ?=| ; \ >+ s|^CFLAGS =|CXXFLAGS +=| ; \ >+ s| -O2 | | ; \ >+ s| -s | | ; \ >+ s|wx-config|$${WX_CONFIG}|' \ > ${WRKSRC}/${MAKEFILE} > > do-install: >- ${INSTALL_PROGRAM} ${WRKSRC}/MultiGet ${PREFIX}/bin/${PORTNAME} >+ (cd ${WRKSRC} && ${INSTALL_PROGRAM} MultiGet \ >+ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}) >+ (cd ${WRKSRC}/.. && ${INSTALL_DATA} MultiGet.png \ >+ ${STAGEDIR}${PREFIX}/share/pixmaps) > > .include <bsd.port.mk> >diff -urN /usr/ports/ftp/multiget/files/patch-common.cpp ftp/multiget/files/patch-common.cpp >--- /usr/ports/ftp/multiget/files/patch-common.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ ftp/multiget/files/patch-common.cpp 2013-12-17 00:00:00.000000000 +0900 >@@ -0,0 +1,11 @@ >+--- common.cpp.orig >++++ common.cpp >+@@ -22,6 +22,8 @@ >+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. >+ */ >+ >++#include <cstdlib> >++ >+ #include "common.h" >+ #include "speedctrl.h" >+ #include "mirroradmin.h" >diff -urN /usr/ports/ftp/multiget/files/patch-mgftpbase.cpp ftp/multiget/files/patch-mgftpbase.cpp >--- /usr/ports/ftp/multiget/files/patch-mgftpbase.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ ftp/multiget/files/patch-mgftpbase.cpp 2013-12-17 00:00:00.000000000 +0900 >@@ -0,0 +1,11 @@ >+--- mgftpbase.cpp.orig >++++ mgftpbase.cpp >+@@ -22,6 +22,8 @@ >+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. >+ */ >+ >++#include <cstdlib> >++ >+ #ifdef WIN32 >+ #include <winsock2.h> >+ #endif
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 184814
: 138731