FreeBSD Bugzilla – Attachment 139144 Details for
Bug 185335
mail/bbmail: 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), 3.15 KB, created by
tkato432
on 2013-12-30 21:10:08 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2013-12-30 21:10:08 UTC
Size:
3.15 KB
patch
obsolete
>diff -urN /usr/ports/mail/bbmail/Makefile mail/bbmail/Makefile >--- /usr/ports/mail/bbmail/Makefile 2013-11-06 21:48:18.000000000 +0900 >+++ mail/bbmail/Makefile 2013-12-31 00:00:00.000000000 +0900 >@@ -7,7 +7,9 @@ > MASTER_SITES= SF/bbtools/${PORTNAME}/${PORTNAME}-${PORTVERSION} > > MAINTAINER= ports@FreeBSD.org >-COMMENT= A tool intended for Blackbox that checks for new mail >+COMMENT= Tool intended for Blackbox that checks for new mail >+ >+LICENSE= GPLv2 # (or later) > > BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/libbt.pc:${PORTSDIR}/x11-wm/blackbox > >@@ -15,12 +17,7 @@ > USE_XORG= xext > GNU_CONFIGURE= yes > >-MAN1= bbmail.1 >-PLIST_FILES= bin/bbmail share/bbtools/bbmail.rc >- >-NO_STAGE= yes >-post-install: >- @${ECHO_CMD} "@unexec rmdir %D/share/bbtools 2>/dev/null || true" \ >- >> ${TMPPLIST} >+PLIST_FILES= bin/bbmail man/man1/bbmail.1.gz share/bbtools/bbmail.rc >+PLIST_DIRSTRY= share/bbtools > > .include <bsd.port.mk> >diff -urN /usr/ports/mail/bbmail/files/patch-src__bbmail.cpp mail/bbmail/files/patch-src__bbmail.cpp >--- /usr/ports/mail/bbmail/files/patch-src__bbmail.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ mail/bbmail/files/patch-src__bbmail.cpp 2013-12-31 00:00:00.000000000 +0900 >@@ -0,0 +1,18 @@ >+--- src/bbmail.cpp.orig >++++ src/bbmail.cpp >+@@ -22,13 +22,14 @@ >+ #include "bbmail.h" >+ #include "config.h" >+ #include <string> >++#include <cstdlib> >++#include <cmath> >+ >+ extern "C" { >+ #include <utime.h> >+ #include <dirent.h> >+ #include <X11/cursorfont.h> >+ #include <sys/stat.h> >+-#include <math.h> >+ } >+ >+ #include "EWMH.hh" >diff -urN /usr/ports/mail/bbmail/files/patch-src__mailboxmenu.cpp mail/bbmail/files/patch-src__mailboxmenu.cpp >--- /usr/ports/mail/bbmail/files/patch-src__mailboxmenu.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ mail/bbmail/files/patch-src__mailboxmenu.cpp 2013-12-31 00:00:00.000000000 +0900 >@@ -0,0 +1,10 @@ >+--- src/mailboxmenu.cpp.orig >++++ src/mailboxmenu.cpp >+@@ -20,6 +20,7 @@ >+ // >+ // >+ #include "mailboxmenu.h" >++#include <cstdlib> >+ >+ MailboxMenu::MailboxMenu(ToolWindow *toolwindow) : >+ Menu(*toolwindow, toolwindow->getCurrentScreen()), bbtool(toolwindow) >diff -urN /usr/ports/mail/bbmail/files/patch-src__main.cpp mail/bbmail/files/patch-src__main.cpp >--- /usr/ports/mail/bbmail/files/patch-src__main.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ mail/bbmail/files/patch-src__main.cpp 2013-12-31 00:00:00.000000000 +0900 >@@ -0,0 +1,10 @@ >+--- src/main.cpp.orig >++++ src/main.cpp >+@@ -22,6 +22,7 @@ >+ #include "bbmail.h" >+ #include "main.h" >+ #include "config.h" >++#include <cstdlib> >+ >+ Configuration::Configuration(int iargc, char **iargv) >+ { >diff -urN /usr/ports/mail/bbmail/files/patch-src__resource.cpp mail/bbmail/files/patch-src__resource.cpp >--- /usr/ports/mail/bbmail/files/patch-src__resource.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ mail/bbmail/files/patch-src__resource.cpp 2013-12-31 00:00:00.000000000 +0900 >@@ -0,0 +1,10 @@ >+--- src/resource.cpp.orig >++++ src/resource.cpp >+@@ -22,6 +22,7 @@ >+ #include "bbmail.h" >+ #include "resource.h" >+ #include "blackboxstyle.h" >++#include <cstdlib> >+ >+ Resource::Resource(ToolWindow *toolwindow, const std::string &rc_file): >+ BaseResource(*toolwindow, toolwindow->getCurrentScreen(), rc_file),
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 185335
: 139144