apvlv: fix build

Fixes #4760
This commit is contained in:
Michael Gehring 2016-09-14 01:50:54 +02:00
parent cb313fd39e
commit ae72c4f894
2 changed files with 12 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- src/CMakeLists.txt.orig 2016-09-14 01:48:05.822928918 +0200
+++ src/CMakeLists.txt 2016-09-14 01:48:54.906931451 +0200
@@ -1,7 +1,7 @@
IF (WIN32)
ADD_DEFINITIONS (-D_CRT_SECURE_NO_WARNINGS)
ELSE (WIN32)
- SET (CMAKE_CXX_FLAGS "-Wall -fno-strict-aliasing")
+ SET (CMAKE_CXX_FLAGS "-Wall -fno-strict-aliasing ${CMAKE_CXX_FLAGS}")
OPTION (APVLV_ENABLE_DEBUG "If build binary with debug infomations." OFF)
IF (APVLV_ENABLE_DEBUG)

View File

@ -1,7 +1,7 @@
# Template file for 'apvlv'
pkgname=apvlv
version=0.1.5
revision=1
revision=2
build_style=cmake
configure_args="-DAPVLV_WITH_UMD=no -DAPVLV_WITH_DJVU=yes -DAPVLV_WITH_TXT=yes"
hostmakedepends="cmake pkg-config"