Skip to content

Instantly share code, notes, and snippets.

View Cogitri's full-sized avatar

Rasmus Thomsen Cogitri

View GitHub Profile
@Cogitri
Cogitri / stdin
Created October 3, 2018 23:22
stdin
/usr/include/dlfcn.h
/usr/include/wctype.h
/usr/include/sched.h
/usr/include/features.h
/usr/include/netdb.h
/usr/include/utime.h
/usr/include/errno.h
/usr/include/stdint.h
/usr/include/ulimit.h
/usr/include/float.h
@Cogitri
Cogitri / 0001-libcxxabi-update-to-7.0.0.patch
Created October 4, 2018 19:20
0001-libcxxabi-update-to-7.0.0.patch
From d17c342f639fa5f74d77e5692426030422608de7 Mon Sep 17 00:00:00 2001
From: Rasmus Thomsen <rasmus.thomsen@protonmail.com>
Date: Tue, 2 Oct 2018 14:57:51 +0200
Subject: [PATCH 1/2] libcxxabi: update to 7.0.0.
[ci skip]
---
srcpkgs/libcxxabi/template | 31 ++++++++++++++++++++-----------
1 file changed, 20 insertions(+), 11 deletions(-)
@Cogitri
Cogitri / 0002-libcxx-update-to-7.0.0.patch
Created October 4, 2018 19:20
0002-libcxx-update-to-7.0.0.patch
From 870fcfe6f67c27b9e01cb95e816310f1306e519a Mon Sep 17 00:00:00 2001
From: Rasmus Thomsen <rasmus.thomsen@protonmail.com>
Date: Tue, 2 Oct 2018 15:01:09 +0200
Subject: [PATCH 2/2] libcxx: update to 7.0.0.
[ci skip]
---
srcpkgs/libcxx/template | 38 +++++++++++---------------------------
1 file changed, 11 insertions(+), 27 deletions(-)
@Cogitri
Cogitri / homerasmusDownloadslog
Created October 4, 2018 23:08
/home/rasmus/Downloads/log
01:08:06.1 INFO [Spellcheck] Found 2 languages: en_GB,de_DE
Stacktrace:
at <unknown> <0xffffffff>
at (wrapper managed-to-native) Mono.Unix.Native.Syscall.sys_strerror_r (int,System.Text.StringBuilder,ulong) [0x0000b] in <9a38b7b1d29f4b32b1ded50076dc8a4d>:0
at Mono.Unix.Native.Syscall.strerror_r (Mono.Unix.Native.Errno,System.Text.StringBuilder,ulong) [0x00006] in <9a38b7b1d29f4b32b1ded50076dc8a4d>:0
at Mono.Unix.Native.Syscall.strerror_r (Mono.Unix.Native.Errno,System.Text.StringBuilder) [0x00008] in <9a38b7b1d29f4b32b1ded50076dc8a4d>:0
at Mono.Unix.ErrorMarshal.strerror_r (Mono.Unix.Native.Errno) [0x00018] in <9a38b7b1d29f4b32b1ded50076dc8a4d>:0
at Mono.Unix.ErrorMarshal..cctor () [0x00011] in <9a38b7b1d29f4b32b1ded50076dc8a4d>:0
at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) [0x0001e] in <af74c024b1ed4d568c62853b2f8d84c5>:0
@Cogitri
Cogitri / temp
Created October 5, 2018 09:08
temp
=> make-4.2.1_3: the following build options are set:
guile: Enable support for Guile lang (OFF)
=> ERROR: automake is not a bootstrap package and cannot be built without it.
=> ERROR: Please install bootstrap packages and try again.
=> ERROR: make-4.2.1_3: failed to transform dependency automake
@Cogitri
Cogitri / Downloadsxbps-rindex
Created October 6, 2018 22:06
Downloads/xbps-rindex
xbps-rindex -vd --signedby "Rasmus Thomsen <rasmus.thomsen@protonmail.com>" --privkey $(pwd)/privkey.pem -S /srv/dist
[DEBUG] XBPS: 0.53 API: 20180730 GIT: UNSET
[DEBUG] Processing configuration directory: /etc/xbps.d
[DEBUG] Processing system configuration directory: /usr/share/xbps.d
[DEBUG] Parsing configuration file: /usr/share/xbps.d/00-repository-main.conf
[DEBUG] [repo] `https://alpha.de.repo.voidlinux.org/current/musl' stored successfully
[DEBUG] /usr/share/xbps.d/00-repository-main.conf: added repository https://alpha.de.repo.voidlinux.org/current/musl
[DEBUG] Parsing configuration file: /usr/share/xbps.d/musl-arch.conf
[DEBUG] /usr/share/xbps.d/musl-arch.conf: native architecture set to x86_64-musl
[DEBUG] Parsing configuration file: /usr/share/xbps.d/xbps.conf
@Cogitri
Cogitri / diff
Created October 9, 2018 20:28
diff
diff --git a/src/libunwind/libunwind.rs b/src/libunwind/libunwind.rs
index 73a259bd4..4bdfcb06e 100644
--- a/src/libunwind/libunwind.rs
+++ b/src/libunwind/libunwind.rs
@@ -44,10 +44,10 @@ pub const unwinder_private_data_size: usize = 5;
#[cfg(target_arch = "x86_64")]
pub const unwinder_private_data_size: usize = 6;
-#[cfg(all(target_arch = "arm", not(target_os = "ios")))]
+#[cfg(all(target_arch.contains("arm"), not(target_os = "ios")))]
@Cogitri
Cogitri / stdin
Created October 9, 2018 23:09
stdin
diff --git a/src/libunwind/libunwind.rs b/src/libunwind/libunwind.rs
index 73a259bd4..30eb40979 100644
--- a/src/libunwind/libunwind.rs
+++ b/src/libunwind/libunwind.rs
@@ -93,7 +93,7 @@ extern "C" {
}
cfg_if! {
-if #[cfg(all(any(target_os = "ios", target_os = "netbsd", not(target_arch = "arm"))))] {
+if #[cfg(all(any(target_os = "ios", target_os = "netbsd", target_arch = "x86_64", target_arch = "aarch64")))] {
@Cogitri
Cogitri / masterdirbuilddir.xbps-librsvglibrsvg_aarch64-musl_do_build.log
Created October 12, 2018 09:26
masterdir/builddir/.xbps-librsvg/librsvg_aarch64-musl_do_build.log
GEN librsvg/s-enum-types-h
GEN librsvg/s-enum-types-c
make all-recursive
make[1]: Entering directory '/builddir/librsvg-2.44.7'
Making all in .
make[2]: Entering directory '/builddir/librsvg-2.44.7'
cd ./rsvg_internals && \
PKG_CONFIG_ALLOW_CROSS=1 \
PKG_CONFIG='/builddir/.xbps-librsvg/wrappers/aarch64-linux-musl-pkg-config' \
CARGO_TARGET_DIR=/builddir/librsvg-2.44.7/target \
@Cogitri
Cogitri / Projectsvoid-packagessrcpkgsQMPlay2patchesarmv6.patch
Created October 19, 2018 20:20
Projects/void-packages/srcpkgs/QMPlay2/patches/armv6.patch
--- src/qmplay2/QMPlay2OSD.cpp
+++ src/qmplay2/QMPlay2OSD.cpp
@@ -19,7 +19,11 @@
#include <QMPlay2OSD.hpp>
#include <QAtomicInteger>
+#if !defined(Q_PROCESSOR_ARM_V6)
static QAtomicInteger<quint64> g_id;
+#else
+static QAtomicInteger<quint32> g_id;