diff options
-rw-r--r-- | graphics/ale/Makefile | 11 | ||||
-rw-r--r-- | graphics/ale/distinfo | 6 |
2 files changed, 8 insertions, 9 deletions
diff --git a/graphics/ale/Makefile b/graphics/ale/Makefile index 7080f806283c..c8e86e46f2fb 100644 --- a/graphics/ale/Makefile +++ b/graphics/ale/Makefile @@ -7,7 +7,7 @@ # PORTNAME= ale -PORTVERSION= 0.8.2 +PORTVERSION= 0.8.3 CATEGORIES= graphics MASTER_SITES= http://auricle.dyndns.org/ALE/download/ @@ -31,6 +31,10 @@ PLIST_FILES= bin/ale BROKEN= "Does not build on alpha" .endif +.if ${OSVERSION} < 502114 +CFLAGS+= -Dround=rint +.endif + .if defined(WITH_DOUBLE) MAKE_ARGS+= COLORS=DOUBLE COORDINATES=DOUBLE .endif @@ -47,11 +51,6 @@ MAKE_ARGS+= IMAGEMAGICK=1 post-patch: @${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|' ${WRKSRC}/d2.h -.if ${OSVERSION} < 502114 -.for file in d2/image.h d2/image_rw.h d2/ppm.h d3/scene.cc - @${REINPLACE_CMD} -e 's|round(|rint(|g' ${WRKSRC}/${file} -.endfor -.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ale ${PREFIX}/bin diff --git a/graphics/ale/distinfo b/graphics/ale/distinfo index 1b4f40882171..b02ac15c721f 100644 --- a/graphics/ale/distinfo +++ b/graphics/ale/distinfo @@ -1,3 +1,3 @@ -MD5 (ale-0.8.2.tar.gz) = 5b1935c4070ecf92bab1af2ce8aa34c7 -SHA256 (ale-0.8.2.tar.gz) = df7886526030978d34171822de737c3813e7300dd274a6cd00fee31c27261bde -SIZE (ale-0.8.2.tar.gz) = 171993 +MD5 (ale-0.8.3.tar.gz) = 79901a14b8ee11dc66406388ff1ae2a1 +SHA256 (ale-0.8.3.tar.gz) = 5b334e4dc571bd2ffed915787d307998133f6956ef735bf73a1ff851b888a2f9 +SIZE (ale-0.8.3.tar.gz) = 159359 |