loudgain: hardening
This commit is contained in:
parent
41cf2abbc6
commit
57367a7692
2 changed files with 22 additions and 1 deletions
20
srcpkgs/loudgain/patches/fix-cflags.patch
Normal file
20
srcpkgs/loudgain/patches/fix-cflags.patch
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
Index: loudgain-0.6.8/CMakeLists.txt
|
||||||
|
===================================================================
|
||||||
|
--- loudgain-0.6.8.orig/CMakeLists.txt
|
||||||
|
+++ loudgain-0.6.8/CMakeLists.txt
|
||||||
|
@@ -69,12 +69,12 @@ TARGET_LINK_LIBRARIES(loudgain
|
||||||
|
)
|
||||||
|
|
||||||
|
SET_TARGET_PROPERTIES(loudgain PROPERTIES
|
||||||
|
- COMPILE_FLAGS "-Wall -pedantic -g"
|
||||||
|
+ COMPILE_FLAGS "-Wall -pedantic"
|
||||||
|
)
|
||||||
|
|
||||||
|
-SET(CMAKE_C_FLAGS "-std=gnu99 -D_GNU_SOURCE")
|
||||||
|
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -D_GNU_SOURCE")
|
||||||
|
|
||||||
|
-SET(CMAKE_CXX_FLAGS "-std=gnu++11 -D_GNU_SOURCE")
|
||||||
|
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11 -D_GNU_SOURCE")
|
||||||
|
|
||||||
|
INSTALL(TARGETS loudgain DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'loudgain'
|
# Template file for 'loudgain'
|
||||||
pkgname=loudgain
|
pkgname=loudgain
|
||||||
version=0.6.8
|
version=0.6.8
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="libebur128-devel taglib-devel ffmpeg-devel"
|
makedepends="libebur128-devel taglib-devel ffmpeg-devel"
|
||||||
|
@ -11,6 +11,7 @@ license="BSD-2-Clause"
|
||||||
homepage="https://github.com/Moonbase59/loudgain"
|
homepage="https://github.com/Moonbase59/loudgain"
|
||||||
distfiles="https://github.com/Moonbase59/loudgain/archive/v${version}.tar.gz"
|
distfiles="https://github.com/Moonbase59/loudgain/archive/v${version}.tar.gz"
|
||||||
checksum=1137c193ad941b366e87c5d84ccc95a7aa8571affc060db0bd1cf72c489aeaee
|
checksum=1137c193ad941b366e87c5d84ccc95a7aa8571affc060db0bd1cf72c489aeaee
|
||||||
|
patch_args=-Np1
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue