Import of pkgsrc-2016Q3

This commit is contained in:
2016-11-18 22:39:22 +01:00
committed by sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949747 additions and 377081 deletions
@@ -0,0 +1,19 @@
$NetBSD: patch-CMakeLists.txt,v 1.2 2016/03/23 10:04:49 markd Exp $
Build with recent cmake
--- CMakeLists.txt.orig 2015-12-22 17:31:21.000000000 +0000
+++ CMakeLists.txt
@@ -1,3 +1,4 @@
+cmake_minimum_required(VERSION 2.8.9)
project(kmplayer)
cmake_policy(VERSION 2.6)
@@ -57,6 +58,7 @@ if(NOT WIN32)
endif(NOT WIN32)
+include(CheckIncludeFiles)
check_include_files(stdint.h HAVE_STDINT_H)
@@ -0,0 +1,15 @@
$NetBSD: patch-src_CMakeLists.txt,v 1.1 2016/03/23 10:04:49 markd Exp $
Build with recent cmake
--- src/CMakeLists.txt.orig 2012-06-10 12:35:46.000000000 +0000
+++ src/CMakeLists.txt
@@ -13,7 +13,7 @@ IF (KMPLAYER_WITH_CAIRO)
MESSAGE("have cairo cflags:${optionalCFlags} ldflags:${optionalLinkFlags}")
endif (KMPLAYER_WITH_CAIRO)
-add_definitions(-DQT3_SUPPORT -DKDE3_SUPPORT -DKMPLAYER_VERSION_STRING=\\"${KMPLAYER_VERSION_STRING}\\")
+add_definitions(-DQT3_SUPPORT -DKDE3_SUPPORT -DKMPLAYER_VERSION_STRING="\\\"${KMPLAYER_VERSION_STRING}\\\"")
ADD_DEFINITIONS(${CAIROCFlags})