Skip to content

Instantly share code, notes, and snippets.

@codeman38
codeman38 / 360Controller.deadlock.patch
Created October 9, 2011 04:35
Patch to fix deadlock issues in Xbox 360 Controller Driver v.0.10 for Mac OS X
diff -ru 360ControllerSource.0.10/360Controller/_60Controller.cpp 360ControllerSource.0.10a/360Controller/_60Controller.cpp
--- 360ControllerSource.0.10/360Controller/_60Controller.cpp 2011-06-16 13:21:00.000000000 -0400
+++ 360ControllerSource.0.10a/360Controller/_60Controller.cpp 2011-10-09 00:18:14.000000000 -0400
@@ -1,6 +1,7 @@
/*
MICE Xbox 360 Controller driver for Mac OS X
Copyright (C) 2006-2007 Colin Munro
+ Bug fixes contributed by Cody "codeman38" Boisclair
_60Controller.cpp - main source of the driver
@codeman38
codeman38 / psftools.config.patch
Created June 10, 2011 17:45
Patch to configure file for compiling psftools on OS X.
diff --git a/configure b/configure
index 59c44df..c43d74e 100755
--- a/configure
+++ b/configure
@@ -903,7 +903,7 @@ else
{ echo "configure: error: newly created file is older than distributed files!
Check your system clock" 1>&2; exit 1; }
fi
-rm -f conftest*
+rm -rf conftest*