Skip to content

Instantly share code, notes, and snippets.

View dougmencken's full-sized avatar
💭
alive

Douglas Mencken dougmencken

💭
alive
View GitHub Profile
@dougmencken
dougmencken / how to get haxe
Last active April 2, 2018 19:48
how to get haxe
# pcre
./configure --prefix=/opt/pcre-8.42 --enable-pcre16 --enable-utf --enable-pcregrep-libz
make
sudo make install
# ocaml
@dougmencken
dougmencken / sdl2-2.0.8-osx10.5.patch
Created September 10, 2018 19:23
SDL2 2.0.8 patch for OS X 10.5 (unfinished)
From: Douglas Mencken <dougmencken@gmail.com>
Date: Mon, 10 Sep 2018 15:20:37 -0400
Subject: [PATCH] SDL2 2.0.8 patch for OS X 10.5 (unfinished)
---
include/SDL_platform.h | 3 --
include/SDL_syswm.h | 4 --
src/video/cocoa/SDL_cocoaclipboard.m | 53 ++++++++++++++++++++++++++
src/video/cocoa/SDL_cocoaevents.m | 70 ++++++++++++++++++++++++++++++++++-
src/video/cocoa/SDL_cocoakeyboard.m | 42 +++++++++++++++++++--