aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-03-30 09:01:57 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-03-30 09:01:57 +0000
commit165a3146382200786a07f2712ee0de74409fcc76 (patch)
tree766649eec6209a71882781578c394fd783df3cf6 /graphics
parent0034accc1cf90c3cfd6cdef24b5cf903ff8ddca6 (diff)
- fix build for png-1.4.1
(Testrun on FreeBSD7 failed error: #error "SSE instruction set not enabled")
Notes
Notes: svn path=/head/; revision=251798
Diffstat (limited to 'graphics')
-rw-r--r--graphics/luxrender/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/luxrender/Makefile b/graphics/luxrender/Makefile
index 55be5b75426a..0813096ca34b 100644
--- a/graphics/luxrender/Makefile
+++ b/graphics/luxrender/Makefile
@@ -38,6 +38,10 @@ post-patch:
@${REINPLACE_CMD} -e \
's,^ADD_DEFINITIONS(-O3 -msse2 -mfpmath=sse -ftree-vectorize -funroll-loops -Wall ,ADD_DEFINITIONS(, ; /LIB_SUFFIX 64/d ; \
/luxrender.desktop/d' ${WRKSRC}/CMakeLists.txt
+ @${REINPLACE_CMD} -e \
+ 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \
+ -e 's|int_p_NULL|NULL|g' \
+ ${WRKSRC}/core/cimg.h
post-configure:
# Fix CXX_FLAGS in generated files