ports/160830: [patch] devel/love: Update to 0.7.2
David Demelier
demelier.david at gmail.com
Mon Sep 19 15:10:07 UTC 2011
>Number: 160830
>Category: ports
>Synopsis: [patch] devel/love: Update to 0.7.2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Sep 19 15:10:06 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: David Demelier
>Release: 8.2-STABLE
>Organization:
>Environment:
FreeBSD Melon.malikania.fr 8.2-STABLE FreeBSD 8.2-STABLE #1: Fri Sep 16 19:31:05 CEST 2011 root at Melon.malikania.fr:/usr/obj/usr/src/sys/Melon amd64
>Description:
A simple update of devel/love to 0.7.2
NOTE: the MASTER_SITES variable is right but the download fails..
>How-To-Repeat:
>Fix:
--- love.diff begins here ---
--- files/patch-src-opengl-GLee.h 2009-12-26 04:29:42.000000000 +0100
+++ /dev/null 2011-09-19 16:41:28.000000000 +0200
@@ -1,11 +0,0 @@
---- src/opengl/GLee.h.orig 2008-09-20 18:40:14.000000000 +0400
-+++ src/opengl/GLee.h 2009-03-10 17:33:52.000000000 +0300
-@@ -747,8 +747,6 @@
-
- /* GLX */
-
-- typedef void (*__GLXextFuncPtr)(void);
--
- #ifndef GLX_ARB_get_proc_address
- #define GLX_ARB_get_proc_address 1
- extern __GLXextFuncPtr glXGetProcAddressARB (const GLubyte *);
--- /dev/null 2011-09-19 16:47:30.000000000 +0200
+++ files/patch-src-modules-graphics-opengl-GLee.h 2011-09-19 16:45:13.000000000 +0200
@@ -0,0 +1,11 @@
+--- src/modules/graphics/opengl/GLee.h.orig 2011-09-19 16:43:16.000000000 +0200
++++ src/modules/graphics/opengl/GLee.h 2011-09-19 16:43:33.000000000 +0200
+@@ -799,7 +799,7 @@
+
+ /* GLX */
+
+- typedef void (*__GLXextFuncPtr)(void);
++ /* typedef void (*__GLXextFuncPtr)(void);*/
+
+ #ifndef GLX_ARB_get_proc_address
+ #define GLX_ARB_get_proc_address 1
--- Makefile.orig 2011-09-19 16:17:44.000000000 +0200
+++ Makefile 2011-09-19 16:47:02.000000000 +0200
@@ -6,20 +6,24 @@
#
PORTNAME= love
-DISTVERSION= 0.5-0
-PORTREVISION= 7
+DISTVERSION= 0.7.2
CATEGORIES= devel games
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
+DISTNAME= ${PORTNAME}-${PORTVERSION}-linux-src
+MASTER_SITES= https://bitbucket.org/rude/love/downloads/
MAINTAINER= amdmi3 at FreeBSD.org
COMMENT= Open-source 2D game engine
LIB_DEPENDS= IL.2:${PORTSDIR}/graphics/devil \
+ openal.1:${PORTSDIR}/audio/openal-soft \
+ modplug.1:${PORTSDIR}/audio/libmodplug \
+ mpg123.0:${PORTSDIR}/audio/mpg123 \
+ vorbisfile.6:${PORTSDIR}/audio/libvorbis \
physfs.1:${PORTSDIR}/devel/physfs \
freetype.9:${PORTSDIR}/print/freetype2
BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
+WRKSRC= ${WRKDIR}/love-HEAD
-USE_BZIP2= yes
USE_GMAKE= yes
USE_SDL= sdl mixer
USE_GL= gl glu
@@ -35,8 +39,6 @@
PORTDOCS= *
post-patch:
- @${REINPLACE_CMD} -e 's|ILvoid|void|' ${WRKSRC}/src/opengl/Image.cpp \
- ${WRKSRC}/src/opengl/love_opengl.cpp
@${REINPLACE_CMD} -e '/^prefix=/ d; /^bindir=/ d; /^libdir=/ d' \
${WRKSRC}/configure
--- distinfo.orig 2011-09-19 16:17:48.000000000 +0200
+++ distinfo 2011-09-19 16:24:48.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (love-0.5-0.tar.bz2) = 0f325fb92f032d089b6b77e1d1410e227631cac9b7c902869ab88441ba2c826b
-SIZE (love-0.5-0.tar.bz2) = 739252
+SHA256 (love-0.7.2-linux-src.tar.gz) = a57adcb0cbdc390a9bd8e2fe477bc175799b9ffd3486e01f859a36bf27f7f268
+SIZE (love-0.7.2-linux-src.tar.gz) = 900209
--- love.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list