From 0e981e8928a1007167091fe9985eb1e07dcdb723 Mon Sep 17 00:00:00 2001 From: Nathan Owens Date: Wed, 8 Jan 2020 00:08:29 -0600 Subject: [PATCH] icewm: update to 1.6.4. --- srcpkgs/icewm/patches/cmake.patch | 15 +++++++++++++++ srcpkgs/icewm/template | 4 ++-- 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/icewm/patches/cmake.patch diff --git a/srcpkgs/icewm/patches/cmake.patch b/srcpkgs/icewm/patches/cmake.patch new file mode 100644 index 00000000000..c5db418dd8f --- /dev/null +++ b/srcpkgs/icewm/patches/cmake.patch @@ -0,0 +1,15 @@ +diff --git src/CMakeLists.txt src/CMakeLists.txt +index 56c78f2..31d6a42 100644 +Fixes undefined reference to walltime() +Patch proposed: https://github.com/ice-wm/icewm/pull/7 +-- +--- src/CMakeLists.txt ++++ src/CMakeLists.txt +@@ -505,7 +505,7 @@ ADD_EXECUTABLE(icewmhint${EXEEXT} icewmhint.cc ${MISC_SRCS}) + target_compile_options(icewmhint${EXEEXT} PUBLIC ${CXXFLAGS_COMMON} ${icewm_pc_flags}) + TARGET_LINK_LIBRARIES(icewmhint${EXEEXT} ${xext_LDFLAGS} ${x11_LDFLAGS} ${nls_LIBS} ${EXTRA_LIBS}) + +-ADD_EXECUTABLE(icesh${EXEEXT} icesh.cc misc.cc mstring.cc ref.cc yarray.cc) ++ADD_EXECUTABLE(icesh${EXEEXT} icesh.cc misc.cc mstring.cc ref.cc yarray.cc ytimer.cc) + target_compile_options(icesh${EXEEXT} PUBLIC ${CXXFLAGS_COMMON} ${icewm_pc_flags}) + TARGET_LINK_LIBRARIES(icesh${EXEEXT} ${xext_LDFLAGS} ${xrandr_LDFLAGS} ${xinerama_LDFLAGS} ${x11_LDFLAGS} ${nls_LIBS} ${EXTRA_LIBS}) diff --git a/srcpkgs/icewm/template b/srcpkgs/icewm/template index aeecc6d6773..988c556e4eb 100644 --- a/srcpkgs/icewm/template +++ b/srcpkgs/icewm/template @@ -1,6 +1,6 @@ # Template file for 'icewm' pkgname=icewm -version=1.6.3 +version=1.6.4 revision=1 build_style=cmake configure_args="-DENABLE_LTO=ON -DCONFIG_LIBRSVG=ON -DENABLE_ALSA=ON @@ -16,7 +16,7 @@ maintainer="Orphaned " license="GPL-2.0-or-later" homepage="https://ice-wm.org/" distfiles="https://github.com/ice-wm/icewm/archive/${version}.tar.gz" -checksum=daa9c5b5850a26599f55d463ed250550c0309fd657cd20a5ac862976e7e8d3f9 +checksum=798207c93246e96338e363dc09cb12f7d4cccd34c7d8700b320f458911b53a1b # No c++ warnings for 'One Defintion Rules' and make sure LTO goes ok CXXFLAGS="-Wno-odr -fno-strict-aliasing"