View | Details | Raw Unified | Return to bug 118633
Collapse All | Expand All

(-)Makefile (-8 / +5 lines)
Lines 12-24 Link Here
12
CATEGORIES=	games devel
12
CATEGORIES=	games devel
13
MASTER_SITES=	http://adgali.apiou.org/download/
13
MASTER_SITES=	http://adgali.apiou.org/download/
14
14
15
MAINTAINER=	ports@FreeBSD.org
15
MAINTAINER=	gahr@gahr.ch
16
COMMENT=	An open source game library useful for 2D game development
16
COMMENT=	An open source game library useful for 2D game development
17
17
18
LIB_DEPENDS=	jpeg.9:${PORTSDIR}/graphics/jpeg \
18
LIB_DEPENDS=	jpeg.9:${PORTSDIR}/graphics/jpeg \
19
		png.5:${PORTSDIR}/graphics/png \
19
		png.5:${PORTSDIR}/graphics/png \
20
		tiff.4:${PORTSDIR}/graphics/tiff \
20
		tiff.4:${PORTSDIR}/graphics/tiff \
21
		freetype.9:${PORTSDIR}/print/freetype2
21
		freetype.9:${PORTSDIR}/print/freetype2 \
22
		execinfo.1:${PORTSDIR}/devel/libexecinfo
22
23
23
USE_AUTOTOOLS=	libtool:15
24
USE_AUTOTOOLS=	libtool:15
24
USE_BZIP2=	yes
25
USE_BZIP2=	yes
Lines 28-45 Link Here
28
GNU_CONFIGURE=	yes
29
GNU_CONFIGURE=	yes
29
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
30
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
30
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
31
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
31
		LDFLAGS="-L${LOCALBASE}/lib"
32
		LDFLAGS="-L${LOCALBASE}/lib -lexecinfo"
32
CONFIGURE_ARGS=	--enable-compile-optim=no
33
CONFIGURE_ARGS=	--enable-compile-optim=no
33
USE_LDCONFIG=	yes
34
USE_LDCONFIG=	yes
34
35
35
.include <bsd.port.pre.mk>
36
.include <bsd.port.pre.mk>
36
37
37
.if ${OSVERSION} >= 700042
38
BROKEN=		"Does not build with gcc 4.2"
39
.endif
40
41
.if ${ARCH} == "alpha" && ${OSVERSION} >= 502102
38
.if ${ARCH} == "alpha" && ${OSVERSION} >= 502102
42
BROKEN=		"Configure fails"
39
BROKEN=		Configure fails
43
.endif
40
.endif
44
41
45
post-install:
42
post-install:
(-)files/patch-src-input-fontio_agl_bfontio.c (+11 lines)
Added Link Here
1
--- src/input/fontio/agl_bfontio.c	2007-12-12 23:43:53.000000000 +0100
2
+++ src/input/fontio/agl_bfontio.c.orig	2007-12-12 23:43:41.000000000 +0100
3
@@ -387,7 +387,7 @@
4
 	return 0;
5
 }
6
 
7
-static agl_fontio agl_bfnt_fontio = {
8
+agl_fontio agl_bfnt_fontio = {
9
 	agl_bfntis,
10
 	agl_bfntopen,
11
 	agl_bfntloadglyph,
(-)files/patch-src-input-fontio_agl_ttfio.c (+11 lines)
Added Link Here
1
--- src/input/fontio/agl_ttfio.c.orig	2007-12-12 23:42:15.000000000 +0100
2
+++ src/input/fontio/agl_ttfio.c	2007-12-12 23:43:00.000000000 +0100
3
@@ -481,7 +481,7 @@
4
 	return 1;
5
 }
6
 
7
-static agl_fontio agl_ttf_fontio = {
8
+agl_fontio agl_ttf_fontio = {
9
 	agl_ttfis,
10
 	agl_ttfopen,
11
 	agl_ttfloadglyph,
(-)files/patch-src_agl_main.c (+12 lines)
Added Link Here
1
--- src/agl_main.c.orig	2007-12-12 23:45:13.000000000 +0100
2
+++ src/agl_main.c	2007-12-12 23:47:00.000000000 +0100
3
@@ -65,7 +65,8 @@
4
 	if (agl_initparachute() < 0)
5
 		return -1;
6
 
7
-	*phandle = (agl_handle) handle = (agl_container *) agl_malloc(sizeof(agl_container));
8
+	handle = agl_malloc(sizeof(agl_container));
9
+	*phandle = (agl_container *)handle;
10
 	if (*phandle == NULL)
11
 	{
12
 		agl_memerr();

Return to bug 118633