Skip to content

Commit

Permalink
update MacPorts
Browse files Browse the repository at this point in the history
  • Loading branch information
devernay committed Apr 3, 2024
1 parent 8bf70f9 commit 455b92b
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 15 deletions.
2 changes: 2 additions & 0 deletions tools/MacPorts/graphics/opencolorio1/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ patchfiles-append patch-yaml-cpp-0.7.diff

patchfiles-append patch-CMakeLists.txt.diff

patchfiles-append patch-Werror.diff

set my_prefix ${prefix}/libexec/${name}

configure.pre_args -DCMAKE_INSTALL_PREFIX=${my_prefix}
Expand Down
26 changes: 26 additions & 0 deletions tools/MacPorts/graphics/opencolorio1/files/patch-Werror.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
--- src/core/CMakeLists.txt.orig 2024-04-04 00:00:07
+++ src/core/CMakeLists.txt 2024-04-04 00:00:20
@@ -23,8 +23,6 @@
if("${CMAKE_BUILD_TYPE}" STREQUAL "Release")
set(EXTERNAL_COMPILE_FLAGS "${EXTERNAL_COMPILE_FLAGS} /WX")
endif()
-else()
- set(EXTERNAL_COMPILE_FLAGS "${EXTERNAL_COMPILE_FLAGS} -Werror")
endif()

# SHARED
--- src/pyglue/CMakeLists.txt.orig 2024-04-04 00:01:06
+++ src/pyglue/CMakeLists.txt 2024-04-04 00:01:20
@@ -20,12 +20,6 @@
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4275")
endif()

-# Process all warnings as errors
-# Unfortunately Windows still has a warning
-if(UNIX)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
-endif()
-
find_package(PythonLibs)
if(NOT PYTHONLIBS_FOUND)
message(FATAL "Python libraries were not found, exiting.")
1 change: 0 additions & 1 deletion tools/MacPorts/graphics/openimageio/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ patchfiles-append oiio-2.3.20-strnlen.patch
patchfiles-append oiio-2.4.6-sysutil.patch
patchfiles-append oiio-2.4.6-filesystem.patch

patchfiles-append patch-enforce-clang14.diff
patchfiles-append patch-2.4.5-cmake-disable-wall-werror.diff

depends_lib-append port:imath \
Expand Down

This file was deleted.

0 comments on commit 455b92b

Please sign in to comment.