Drop gratuitous optimizations

This commit is contained in:
dcoppa 2014-11-05 09:26:50 +00:00
parent 93fd1ef54f
commit b63495266b
2 changed files with 4 additions and 20 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.39 2014/10/03 20:45:10 sthen Exp $
# $OpenBSD: Makefile,v 1.40 2014/11/05 09:26:50 dcoppa Exp $
# requires SSE
ONLY_FOR_ARCHS= i386 amd64
@ -14,7 +14,7 @@ COMMENT= virtual lighttable and darkroom for photographers
# N.B. newer versions require TLS
DISTNAME= darktable-1.2.3
EXTRACT_SUFX= .tar.xz
REVISION= 1
REVISION= 2
SHARED_ONLY= Yes
@ -66,10 +66,10 @@ LIB_DEPENDS= devel/json-glib \
SEPARATE_BUILD= Yes
USE_GROFF= Yes
CONFIGURE_STYLE= cmake
CONFIGURE_ARGS= -DCMAKE_BUILD_TYPE=Release \
-DOPENJPEG_INCLUDE_DIR=${PREFIX}/include/openjpeg-1.5 \
-DBINARY_PACKAGE_BUILD=1
-DBINARY_PACKAGE_BUILD=1 \
-DCUSTOM_CFLAGS=1
# enable workaround for mutex problems
CFLAGS+= -D_DEBUG

View File

@ -1,16 +0,0 @@
$OpenBSD: patch-src_CMakeLists_txt,v 1.1 2014/03/28 15:08:03 jasper Exp $
Disable -Werror to prevent failing compilation when using deprecated
functions from libgnome-keyring
--- src/CMakeLists.txt.orig Fri Mar 28 15:53:14 2014
+++ src/CMakeLists.txt Fri Mar 28 15:56:56 2014
@@ -315,7 +315,7 @@ if(NOT CUSTOM_CFLAGS)
if(NOT APPLE AND NOT CMAKE_C_COMPILER_ID STREQUAL "Clang")
# apple build fails on deprecated warnings..
# and too many warnings reported by Clang for now
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror")
+ #set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror")
# gcc-4.8 build fails on unused local typedefs in gmacros.h:162
# to be removed when glib will get fixed