main/sircbot: fix the problem of missing assert header file

This commit is contained in:
znley 2024-08-05 07:22:26 +00:00 committed by Natanael Copa
parent 52fd9af9c5
commit a4aeb9b40b
2 changed files with 14 additions and 0 deletions

View File

@ -17,6 +17,7 @@ done
install="$pkgname.pre-install"
source="https://dev.alpinelinux.org/archive/sircbot/sircbot-$pkgver.tar.xz
0001-add-simple-hack-to-allow-nickserv-identification.patch
fix-missing-assert-header.patch
sircbot.initd
sircbot.confd
"
@ -65,6 +66,7 @@ done
sha512sums="
1f91581548dcc2d3f6d0da31591027792271994b86ffce73141de828eff27595a1df8a364988e0c5349996e36ae8879b166c84d6024a194626e61c9dc9e96816 sircbot-0.4.tar.xz
45cbf2b16374f0fb7746d80ce09a9f65c293e08fd641c174821caf78f27e0614882500e0ced08a611679f26e5b2f8acded9869af6be81bd0966820588612b1e6 0001-add-simple-hack-to-allow-nickserv-identification.patch
39f24516b2fcdd172b794dadc2fe638c12c6b75ecd492dc0d98dd13f3133dc3e891e59f7ad6222973595aa118848a6dc43833b8e36ef02a917bda7cb7f55a802 fix-missing-assert-header.patch
ba06c40c606890f8918a07908d04ae4adbaf5d99d915b85a2c7a766f4811000c8c7574c9a65cacf1a687e4fa9f7a0095da8b93f96b0e449dfe0848d669b5e12a sircbot.initd
315167ec664ce859908fcd230f6e0c604a0b02e56286156ba6ec76c32d6d514726acb493fe7a13b44d9255ec2e34fe4b2a6f02edf039b06e487cea6528d4d6a7 sircbot.confd
"

View File

@ -0,0 +1,12 @@
diff --git a/lua/lsircbot.c b/lua/lsircbot.c
index 0b97d5a..7fd57c1 100644
--- a/lua/lsircbot.c
+++ b/lua/lsircbot.c
@@ -5,6 +5,7 @@
#include <fcntl.h>
#include <stdio.h>
#include <unistd.h>
+#include <assert.h>
#include <lua.h>
#include <lualib.h>