Skip to content

Instantly share code, notes, and snippets.

diff --git a/srcpkgs/llvm15/patches/libcxx-armv67.patch b/srcpkgs/llvm15/patches/libcxx-armv67.patch
new file mode 100644
index 0000000000..1dab312c83
--- /dev/null
+++ b/srcpkgs/llvm15/patches/libcxx-arm.patch
@@ -0,0 +1,22 @@
+See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109180
+Avoid the following undefined reference:
+
+/usr/lib/gcc/armv7l-linux-gnueabihf/12.2.0/../../../../armv7l-linux-gnueabihf/bin/ld: projects/libcxx/src/CMakeFiles/cxx_shared.dir/locale.cpp.o: in function `std::__1::__time_get_c_storage<char>::__x() const [clone .localalias]':
#!/bin/bash
IFS=$'\n' CHECK_PKGS=($(git diff --name-only HEAD~85 | awk '/^srcpkgs/ {print $1;}' | awk -F\/ '{print $2}' | awk '!seen[$0]++'))
for element in "${CHECK_PKGS[@]}"; do
if [ -d "srcpkgs/${element}" ] && [ ! -L "srcpkgs/${element}" ]; then
echo "=> Checking ${element}"
./xbps-src update-check ${element}
else
echo "=> Skiped ${element}"
@oreo639
oreo639 / gustpats.cfg
Last active November 3, 2020 08:40
A timidity compatible cfg for the Gravis Ultrasound default patchset.
# Release #3 05/05/93
# This is the default configuration file. All lines beginning with a # are
# treated as comments.
#
# This file contains a list of all of the intstruments and their program
# numbers that may be used to play a midi file.
#
# Revisions:
# 06/29/93 - #45 is now TREMSTR
# edited on 11/03/20 - Make timidity compatible
@oreo639
oreo639 / main.c
Last active November 3, 2020 08:42
Example code for home menu blocking. (Outdated)
#include <3ds.h>
#include <stdio.h>
int main(int argc, char **argv)
{
gfxInitDefault();
consoleInit(GFX_TOP, NULL);
printf("Home button blocking demo.\n");
printf("Press A to block/unblock the home button.\n");