[BACK]Return to patch-3rdparty_cmake_minizip_cmake CVS log [TXT][DIR] Up to [local] / ports / textproc / sigil / patches

File: [local] / ports / textproc / sigil / patches / Attic / patch-3rdparty_cmake_minizip_cmake (download)

Revision 1.1.1.1 (vendor branch), Thu Mar 3 15:52:52 2016 UTC (8 years, 3 months ago) by kirby
Branch: kirby
CVS Tags: import
Changes since 1.1: +0 -0 lines

import sigil wip port

$OpenBSD$
--- 3rdparty/cmake/minizip.cmake.orig	Sat Jan 30 18:39:54 2016
+++ 3rdparty/cmake/minizip.cmake	Thu Mar  3 18:18:07 2016
@@ -21,7 +21,7 @@ if(WIN32)
 endif()
 
 # OS X doesn't have fopen64.
-if(APPLE)
+if(APPLE OR ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
     set(PROJECT_C_FLAGS "${PROJECT_C_FLAGS} -DUSE_FILE32API")
 endif()