FreeBSD Bugzilla – Attachment 138730 Details for
Bug 184813
games/shaaft: 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.07 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.07 KB
patch
obsolete
>diff -urN /usr/ports/games/shaaft/Makefile games/shaaft/Makefile >--- /usr/ports/games/shaaft/Makefile 2013-11-11 13:55:18.000000000 +0900 >+++ games/shaaft/Makefile 2013-12-17 00:00:00.000000000 +0900 >@@ -3,7 +3,7 @@ > > PORTNAME= shaaft > PORTVERSION= 0.5.0 >-PORTREVISION= 12 >+PORTREVISION= 13 > CATEGORIES= games > MASTER_SITES= SF/criticalmass/OldFiles > DISTNAME= Shaaft-${PORTVERSION} >@@ -18,16 +18,21 @@ > USE_BZIP2= yes > USE_SDL= mixer image sdl > USE_GL= yes >+USE_GCC= any > GNU_CONFIGURE= yes >-CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15 >-LDFLAGS+= -L${LOCALBASE}/lib > CONFIGURE_ARGS= --disable-optimize >+ >+CPPFLAGS+= $$(libpng-config --I_opts) >+LDFLAGS+= $$(libpng-config --L_opts) >+ > DATADIR= ${PREFIX}/share/Shaaft > > PLIST_FILES= bin/Packer bin/shaaft %%DATADIR%%/resource.dat \ > man/man6/shaaft.6.gz > PLIST_DIRS= %%DATADIR%% > >+DESKTOP_ENTRIES="Shaaft" "" "" "${PORTNAME}" "" "" >+ > .include <bsd.port.pre.mk> > > .if ${ARCH} == "sparc64" >diff -urN /usr/ports/games/shaaft/files/patch-ResourceManager.cpp games/shaaft/files/patch-ResourceManager.cpp >--- /usr/ports/games/shaaft/files/patch-ResourceManager.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ games/shaaft/files/patch-ResourceManager.cpp 2013-12-17 00:00:00.000000000 +0900 >@@ -0,0 +1,10 @@ >+--- utils/ResourceManager.cpp.orig >++++ utils/ResourceManager.cpp >+@@ -13,6 +13,7 @@ >+ // FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details >+ // >+ #include <unistd.h> >++#include <cstring> >+ #include <iomanip> >+ #include <dirent.h> >+ #include <sys/types.h> >diff -urN /usr/ports/games/shaaft/files/patch-Value.hpp games/shaaft/files/patch-Value.hpp >--- /usr/ports/games/shaaft/files/patch-Value.hpp 1970-01-01 09:00:00.000000000 +0900 >+++ games/shaaft/files/patch-Value.hpp 2013-12-17 00:00:00.000000000 +0900 >@@ -0,0 +1,12 @@ >+--- utils/Value.hpp.orig 2013-11-30 21:16:05.000000000 +0900 >++++ utils/Value.hpp 2013-11-30 21:16:35.000000000 +0900 >+@@ -15,7 +15,8 @@ >+ #ifndef _Value_hpp_ >+ #define _Value_hpp_ >+ >+-#include <stdio.h> >++#include <cstdio> >++#include <cstdlib> >+ #include <string> >+ >+ #include <Trace.hpp>
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 184813
: 138730