Skip to content

Instantly share code, notes, and snippets.

View negativeExponent's full-sized avatar

negativeExponent

View GitHub Profile
@negativeExponent
negativeExponent / openttd
Created February 23, 2023 03:41
openttd template for void-packages
# Template file for 'openttd'
pkgname=openttd
version=13.0
revision=1
_gfxver=7.1
_sfxver=1.0.3
create_wrksrc=yes
build_wrksrc=openttd-$version
build_style=cmake
configure_args="-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_DATADIR=share -DCMAKE_INSTALL_BINDIR=bin"
❯ gdb src/fceux
GNU gdb (GDB) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
diff --git a/src/login.c b/src/login.c
index 57219ae..bc1e904 100644
--- a/src/login.c
+++ b/src/login.c
@@ -227,7 +227,16 @@ void env_init(struct passwd* pwd)
setenv("SHELL", pwd->pw_shell, 1);
setenv("USER", pwd->pw_name, 1);
setenv("LOGNAME", pwd->pw_name, 1);
- setenv("LANG", lang, 1);
+ /* setenv("LANG", lang, 1); */
@negativeExponent
negativeExponent / gist:d8bd6b81adec95968bb02e034a8f4555
Created June 7, 2020 15:36
pcsx_rearmed, backtrace with threads
[INFO] RetroArch 1.8.8 (Git 351fe36a6d)
[INFO] Redirecting save file to "/mnt/data/retroarch/saves/Vib-Ribbon (Europe) (En,Fr,De,Es,It).srm".
[INFO] Redirecting save state to "/mnt/data/retroarch/states/Vib-Ribbon (Europe) (En,Fr,De,Es,It).state".
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Pentium(R) CPU G2020 @ 2.90GHz
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2
[INFO] Built: Jun 7 2020
[INFO] Version: 1.8.8
[INFO] Git: 351fe36a6d
[INFO] =================================================