aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2013-07-21 04:36:42 +0800
committermiwi <miwi@FreeBSD.org>2013-07-21 04:36:42 +0800
commitbfdba7ff0ff2ec160e91063754d12ab1c083c1a3 (patch)
treef88a2dbe55db45dce7d6e89c03d3d9e9849b3b57
parent109d966880cf8096e72071cab1b405500578c5b1 (diff)
downloadfreebsd-ports-gnome-bfdba7ff0ff2ec160e91063754d12ab1c083c1a3.tar.gz
freebsd-ports-gnome-bfdba7ff0ff2ec160e91063754d12ab1c083c1a3.tar.zst
freebsd-ports-gnome-bfdba7ff0ff2ec160e91063754d12ab1c083c1a3.zip
- Update to 1.3.3
PR: 180650
-rw-r--r--graphics/openshadinglanguage/Makefile4
-rw-r--r--graphics/openshadinglanguage/distinfo4
-rw-r--r--graphics/openshadinglanguage/files/patch-cmake_platform.cmake12
3 files changed, 16 insertions, 4 deletions
diff --git a/graphics/openshadinglanguage/Makefile b/graphics/openshadinglanguage/Makefile
index c35356a420a6..586871801fb5 100644
--- a/graphics/openshadinglanguage/Makefile
+++ b/graphics/openshadinglanguage/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= openshadinglanguage
-PORTVERSION= 1.3.1
+PORTVERSION= 1.3.3
CATEGORIES= graphics devel
MAINTAINER= FreeBSD@Shaneware.biz
@@ -21,7 +21,7 @@ USE_GITHUB= yes
GH_ACCOUNT= imageworks
GH_PROJECT= OpenShadingLanguage
GH_TAGNAME= Release-${PORTVERSION}
-GH_COMMIT= 0ae2fe3
+GH_COMMIT= 18671dc
WRKSRC= ${WRKDIR}/imageworks-OpenShadingLanguage-${GH_COMMIT}/src
diff --git a/graphics/openshadinglanguage/distinfo b/graphics/openshadinglanguage/distinfo
index b886152d4739..6fab5006c1db 100644
--- a/graphics/openshadinglanguage/distinfo
+++ b/graphics/openshadinglanguage/distinfo
@@ -1,2 +1,2 @@
-SHA256 (openshadinglanguage-1.3.1.tar.gz) = 34b179693da43c889eb2a36cd474c7802c03087d6068328b7a3b3e8143d9ce3d
-SIZE (openshadinglanguage-1.3.1.tar.gz) = 10317059
+SHA256 (openshadinglanguage-1.3.3.tar.gz) = 55c62a3eeedbf7dea5a672e0bdd73cc0fbf9c60e89d72d77bff5eb9cccca7578
+SIZE (openshadinglanguage-1.3.3.tar.gz) = 10316937
diff --git a/graphics/openshadinglanguage/files/patch-cmake_platform.cmake b/graphics/openshadinglanguage/files/patch-cmake_platform.cmake
new file mode 100644
index 000000000000..5cfc64c1bf2f
--- /dev/null
+++ b/graphics/openshadinglanguage/files/patch-cmake_platform.cmake
@@ -0,0 +1,12 @@
+--- ./cmake/platform.cmake.orig 2013-07-19 15:08:25.918110424 +0930
++++ ./cmake/platform.cmake 2013-07-19 15:11:10.254109449 +0930
+@@ -32,6 +32,9 @@
+ elseif (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
+ set (platform "FreeBSD")
+ set (CXXFLAGS "${CXXFLAGS} -DFREEBSD")
++ if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "i386")
++ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=i586")
++ endif()
+ else ()
+ string (TOLOWER ${CMAKE_SYSTEM_NAME} platform)
+ endif ()