Skip to content

Instantly share code, notes, and snippets.

@ChrisTX
ChrisTX / PKGBUILD.patch
Created May 31, 2020 03:06
InspIRCd PKGBUILD fixes
--- PKGBUILD.orig 2020-05-31 05:04:39.000000000 +0200
+++ PKGBUILD.fixed 2020-05-31 05:03:22.721953311 +0200
@@ -8,22 +8,28 @@
pkgver='3.6.0'
pkgrel='2'
pkgdesc='InspIRCd is a modular Internet Relay Chat (IRC) server written in C++ for Linux, BSD, Windows and macOS systems.'
-arch=('any')
+arch=('x86_64')
url='https://www.inspircd.org/'
license=('GPL2')
@ChrisTX
ChrisTX / nanosleep-wsl.patch
Created March 13, 2020 17:15
WSL clock_nanosleep patch
diff -Naur glibc-2.31/sysdeps/unix/sysv/linux/clock_nanosleep.c glibc-2.31-wsl/sysdeps/unix/sysv/linux/clock_nanosleep.c
--- glibc-2.31/sysdeps/unix/sysv/linux/clock_nanosleep.c 2020-02-01 12:52:50.000000000 +0100
+++ glibc-2.31-wsl/sysdeps/unix/sysv/linux/clock_nanosleep.c 2020-03-13 12:30:30.737587300 +0100
@@ -31,7 +32,25 @@
struct __timespec64 *rem)
{
int r;
-
+ struct __timespec64 current_realtime, actual_req;
+ actual_req = *req;
@ChrisTX
ChrisTX / PKGBUILD
Last active December 13, 2018 21:46
ARPREC AUR shared library fix
# Maintainer: Philip Abernethy<chais.z3r0 at gmail dot com>
pkgname=arprec
pkgver=2.2.19
pkgrel=2
pkgdesc="An arbitrary precision math library for C++ and Fortran-90."
url="http://crd.lbl.gov/~dhbailey/mpdist/"
arch=('x86_64')
license=('custom:LBNL-BSD')
makedepends=('catdoc' 'gcc-fortran')
changelog="${pkgname}.changelog"