From b1f9b22b1d2d0325ea4027ac0cacc8a3ef3e76f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sat, 30 Aug 2025 19:58:00 +0700 Subject: [PATCH] monkey: fix __FILENAME__ --- srcpkgs/monkey/patches/filename.patch | 2 +- srcpkgs/monkey/template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/monkey/patches/filename.patch b/srcpkgs/monkey/patches/filename.patch index 33fb31f005a..1761d749501 100644 --- a/srcpkgs/monkey/patches/filename.patch +++ b/srcpkgs/monkey/patches/filename.patch @@ -5,7 +5,7 @@ # Set default compiler options set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -Wall -Wextra") -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__='\"$(subst ${CMAKE_SOURCE_DIR}/,,$(abspath $<))\"'") -+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__=__file__") ++set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__=__FILE__") # Monkey Version set(MK_VERSION_MAJOR 1) diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template index 6acd9a87971..9404e2cb7a0 100644 --- a/srcpkgs/monkey/template +++ b/srcpkgs/monkey/template @@ -1,7 +1,7 @@ # Template file for 'monkey' pkgname=monkey version=1.6.9 -revision=6 +revision=7 build_style=cmake configure_args="-DINSTALL_SYSCONFDIR=/etc/monkey/ -DWITH_PLUGINS=mbedtls -DWITH_SYSTEM_MALLOC=ON -DINSTALL_WEBROOTDIR=/srv/www/monkey