svn commit: r335597 - in head/games/battletanks: . files

Gerald Pfeifer gerald at FreeBSD.org
Tue Dec 3 23:14:36 UTC 2013


Author: gerald
Date: Tue Dec  3 23:14:35 2013
New Revision: 335597
URL: http://svnweb.freebsd.org/changeset/ports/335597

Log:
  Fix the build with GCC 4.7 and later (which do fewer extraneous
  #includes of system include files). [1]
  
  On the way adjust to the new LIB_DEPENDS format.
  
  PR:		183342 [1]
  Submitted by:	Christoph Moench-Tegeder <cmt at burggraben.net> [1]

Added:
  head/games/battletanks/files/patch-mrt-base_file.h   (contents, props changed)
Modified:
  head/games/battletanks/Makefile

Modified: head/games/battletanks/Makefile
==============================================================================
--- head/games/battletanks/Makefile	Tue Dec  3 22:10:25 2013	(r335596)
+++ head/games/battletanks/Makefile	Tue Dec  3 23:14:35 2013	(r335597)
@@ -12,9 +12,9 @@ COMMENT=	Fast 2D tank arcade game with m
 
 BUILD_DEPENDS=	zip:${PORTSDIR}/archivers/zip
 LIB_DEPENDS=	sigc-2.0.0:${PORTSDIR}/devel/libsigc++20 \
-		expat.6:${PORTSDIR}/textproc/expat2 \
-		vorbisfile.6:${PORTSDIR}/audio/libvorbis \
-		smpeg.1:${PORTSDIR}/multimedia/smpeg
+		libexpat.so:${PORTSDIR}/textproc/expat2 \
+		libvorbisfile.so:${PORTSDIR}/audio/libvorbis \
+		libsmpeg.so:${PORTSDIR}/multimedia/smpeg
 
 USES=		pkgconfig
 USE_BZIP2=	yes

Added: head/games/battletanks/files/patch-mrt-base_file.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/battletanks/files/patch-mrt-base_file.h	Tue Dec  3 23:14:35 2013	(r335597)
@@ -0,0 +1,10 @@
+--- mrt/base_file.h.orig	2013-11-16 13:43:12.000000000 +0100
++++ mrt/base_file.h	2013-11-16 13:44:09.000000000 +0100
+@@ -20,6 +20,7 @@
+ */
+ 
+ #include <string>
++#include <sys/types.h>
+ #include "export_mrt.h"
+ 
+ namespace mrt {


More information about the svn-ports-head mailing list