ympd: hardening

This commit is contained in:
Đoàn Trần Công Danh 2021-03-27 19:26:47 +07:00
parent c48f788c2f
commit 84b80b4e17
2 changed files with 14 additions and 1 deletions

View File

@ -0,0 +1,13 @@
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -24,7 +24,7 @@ include_directories(${PROJECT_BINARY_DIR
include(CheckCSourceCompiles)
-set(CMAKE_C_FLAGS "-std=gnu99 -Wall")
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -Wall")
set(CMAKE_C_FLAGS_DEBUG "-ggdb -pedantic")
if(WITH_IPV6)
set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS NS_ENABLE_IPV6)

View File

@ -1,7 +1,7 @@
# Template file for 'ympd' # Template file for 'ympd'
pkgname=ympd pkgname=ympd
version=1.3.0 version=1.3.0
revision=7 revision=8
build_style=cmake build_style=cmake
hostmakedepends="perl pkg-config" hostmakedepends="perl pkg-config"
makedepends="libmpdclient-devel openssl-devel" makedepends="libmpdclient-devel openssl-devel"