compiling tuxtype, I got this error:
t4k_audio.c:28: t4k_common.h:129:4: error: cannot use keyword ‘false’
I found here a modification for src/t4k_common.h (ie replace
127 typedef enum
128 {
129 false,
130 true
131 }
132 bool;
133 #endif
by
127 #include <stdbool.h>
128 #endif
)
Then I was able to compile (AMD64, gcc 15.2.1).
For archlinux users:
use a pacman wrapper for AUR like yay, or whatever you want, to get the PKGBUILD.
Get the error for compiling t4kcommon, look at the paths.
find the place where your wrapper use cache file (mine was ~/.cache/yay/t4kcommon/src/t4kcommon-upstream-0.1.1/src)
edit t4k_common.h
replace lines 126-133 and save
cd to ~/.cache/yay/t4kcommon where your PKGBUILD file lives
type 'makepkg -e' (-e is to prevent re-downloading the source and erase your changes)
if everything is all right, t4kcommon is installed
try to recompile your pending package (mine was tuxtype)
compiling tuxtype, I got this error:
t4k_audio.c:28: t4k_common.h:129:4: error: cannot use keyword ‘false’
I found here a modification for src/t4k_common.h (ie replace
by
)
Then I was able to compile (AMD64, gcc 15.2.1).
For archlinux users:
use a pacman wrapper for AUR like yay, or whatever you want, to get the PKGBUILD.
Get the error for compiling t4kcommon, look at the paths.
find the place where your wrapper use cache file (mine was ~/.cache/yay/t4kcommon/src/t4kcommon-upstream-0.1.1/src)
edit t4k_common.h
replace lines 126-133 and save
cd to ~/.cache/yay/t4kcommon where your PKGBUILD file lives
type 'makepkg -e' (-e is to prevent re-downloading the source and erase your changes)
if everything is all right, t4kcommon is installed
try to recompile your pending package (mine was tuxtype)