Skip to content

Instantly share code, notes, and snippets.

View jessicah's full-sized avatar

Jessica Hamilton jessicah

View GitHub Profile
@jessicah
jessicah / synergy-keyboard-redo.patch
Last active August 29, 2015 14:07
Initial reworking of keyboard support
From 11123cd57ad1a6628e93c6c8095bad490eac749e Mon Sep 17 00:00:00 2001
From: Jessica Hamilton <[email protected]>
Date: Sun, 5 Oct 2014 01:39:07 +1300
Subject: [PATCH] synergy: redo keyboard support
---
.../devices/synergy/haiku-usynergy.cpp | 65 ++++++++--------------
.../input_server/devices/synergy/haiku-usynergy.h | 2 +-
.../input_server/devices/synergy/uSynergy.c | 21 +++----
.../input_server/devices/synergy/uSynergy.h | 2 +-
@jessicah
jessicah / bjam.patch
Created October 21, 2014 06:24
bjam-3.1.14 to bjam-3.1.15
diff -Naurw boost-jam-3.1.14/builtins.c boost-jam-3.1.15/builtins.c
--- boost-jam-3.1.14/builtins.c 2006-08-29 02:33:42.013369344 +1200
+++ boost-jam-3.1.15/builtins.c 2007-09-07 02:49:54.044564480 +1200
@@ -5,7 +5,6 @@
*/
# include "jam.h"
-# include "debug.h"
# include "lists.h"
@jessicah
jessicah / gpt.patch
Created October 28, 2014 21:56
Lets makebootable work with a GPT-only partition table
From 9d07bf9d62526054ef4b076f9f5e7dd7cb6dfb25 Mon Sep 17 00:00:00 2001
From: Jessica Hamilton <[email protected]>
Date: Tue, 8 Jul 2014 23:02:39 +1200
Subject: [PATCH 3/3] Make EFI partitions work (doesn't test for BFS).
---
src/bin/makebootable/platform/bios_ia32/makebootable.cpp | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/src/bin/makebootable/platform/bios_ia32/makebootable.cpp b/src/bin/makebootable/platform/bios_ia32/makebootable.cpp
/*
-----------------------------------------------------------------------------
*
* (c) The University of Glasgow 2006-2007
*
* OS-specific memory management
*
*
---------------------------------------------------------------------------*/
// This is non-posix compliant. // #include "PosixSource.h"
@jessicah
jessicah / python-2.7.6-tarfile.patch
Created November 2, 2014 14:29
tarfile: fallback to symlink if creating ha
From e0e004fba8c4e620a205c4aa45f84aebf5fd816b Mon Sep 17 00:00:00 2001
From: Jessica Hamilton <[email protected]>
Date: Mon, 3 Nov 2014 02:48:37 +1300
Subject: tarfile: fallback to symlink if creating hardlink fails
diff --git a/Lib/tarfile.py b/Lib/tarfile.py
index 44ecd24..33b51cd 100644
--- a/Lib/tarfile.py
+++ b/Lib/tarfile.py
From e06e10fa67a8dc9fbf1be68849438668c5e523af Mon Sep 17 00:00:00 2001
From: Jessica Hamilton <[email protected]>
Date: Wed, 12 Nov 2014 18:17:39 +1300
Subject: Use GNUInstallDirs module
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4950ddb..f8310ab 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@jessicah
jessicah / run.sh
Last active August 29, 2015 14:18
Boost Regression Test Script
#!/bin/bash
# Get the regression script
if [ ! -e run.py ] ; then
wget https://raw.githubusercontent.com/boostorg/regression/develop/src/run.py
chmod a+x run.py
fi
# Switch to gcc4 if needed
if [[ "$(gcc --version)" =~ "2.95.3" ]] ; then
SUMMARY="The Glasgow Haskell Compiler"
DESCRIPTION="
The Glorious Glasgow Haskell Compilation system (GHC) is a compiler for Haskell.
Haskell is "the" standard lazy functional programming language.
"
HOMEPAGE="https://www.haskell.org/ghc/"
COPYRIGHT="The Glasgow Haskell Team"
LICENSE="The Glasgow Haskell Compiler License"
@jessicah
jessicah / build.mk
Created June 7, 2015 15:37
Installation Failure - GHC 7.8.3 on Haiku
V = 1
GhcLibWays = v dyn thr p debug l
SRC_HC_OPTS = -O -H64m
GhcStage1HcOpts = -O -fasm
GhcStage2HcOpts = -O2 -fasm
GhcHcOpts = -Rghc-timing
GhcLibHcOpts = -O2
DYNAMIC_BY_DEFAULT = YES
@jessicah
jessicah / output.log
Created June 7, 2015 15:38
Installation Failure - GHC 7.8.3 on Haiku
Installing library in
/packages/ghc_x86-7.8.3-1/.self/lib/x86/ghc-7.8.3/terminfo-0.4.0.0
"inplace/bin/ghc-cabal" copy libraries/haskeline dist-install ":" '' '/packages/ghc_x86-7.8.3-1/.self' '/packages/ghc_x86-7.8.3-1/.self/lib/x86/ghc-7.8.3' '/packages/ghc_x86-7.8.3-1/.self/documentation/packages/ghc_x86/html/libraries' 'v dyn thr p debug l'
Installing library in
/packages/ghc_x86-7.8.3-1/.self/lib/x86/ghc-7.8.3/haskeline-0.7.1.2
"inplace/bin/ghc-cabal" copy compiler stage2 ":" '' '/packages/ghc_x86-7.8.3-1/.self' '/packages/ghc_x86-7.8.3-1/.self/lib/x86/ghc-7.8.3' '/packages/ghc_x86-7.8.3-1/.self/documentation/packages/ghc_x86/html/libraries' 'v dyn thr p debug l'
Installing library in
/packages/ghc_x86-7.8.3-1/.self/lib/x86/ghc-7.8.3/ghc-7.8.3
"inplace/bin/ghc-cabal" copy libraries/old-time dist-install ":" '' '/packages/ghc_x86-7.8.3-1/.self' '/packages/ghc_x86-7.8.3-1/.self/lib/x86/ghc-7.8.3' '/packages/ghc_x86-7.8.3-1/.self/documentation/packages/ghc_x86/html/libraries' 'v dyn thr p debug l'
Inst