Skip to content

Instantly share code, notes, and snippets.

View ryandesign's full-sized avatar

Ryan Carsten Schmidt ryandesign

View GitHub Profile
@ryandesign
ryandesign / fix-svd-0.patch
Last active July 7, 2018 04:56
Fix the "-svd 0" Mini vMac 36 configuration flag so that it can create the "out" directory on Mac OS X 10.6 and earlier.
--- src/OSGLUCCO.m.orig 2018-07-06 23:28:04.000000000 -0500
+++ src/OSGLUCCO.m 2018-07-06 23:31:33.000000000 -0500
@@ -4014,7 +4014,7 @@
}
} else {
if ([fm respondsToSelector:@selector(
-createDirectoryAtURL:withIntermediateDirectories:attributes:error:
+createDirectoryAtPath:withIntermediateDirectories:attributes:error:
)])
{
@ryandesign
ryandesign / AutomaticGraphicsSwitching.patch
Created June 29, 2018 21:00
Patch to prevent Mini vMac from forcing the use of the discrete GPU, in two-GPU Macs
https://developer.apple.com/library/archive/technotes/tn2229/
--- src/Info.plist.orig 2018-06-22 00:41:55.000000000 -0500
+++ src/Info.plist 2018-06-29 13:12:51.000000000 -0500
@@ -3,4 +3,6 @@
<plist version="1.0">
<dict>
+ <key>NSSupportsAutomaticGraphicsSwitching</key>
+ <true/>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
@ryandesign
ryandesign / NSHighResolutionCapable.patch
Last active June 27, 2018 13:24
Patch to enable Retina display support in Mini vMac Cocoa mode
--- src/Info.plist.orig 2018-06-13 13:24:32.000000000 -0500
+++ src/Info.plist 2018-06-13 18:33:41.000000000 -0500
@@ -70,4 +70,6 @@
<key>LSRequiresCarbon</key>
<string>1</string>
+ <key>NSHighResolutionCapable</key>
+ <true/>
</dict>
</plist>
@ryandesign
ryandesign / main.log
Created December 30, 2017 09:24
aff4 build failure
version:1
:debug:main epoch: in tree: 0 installed: 0
:debug:main git 2.15.1_0 exists in the ports tree
:debug:main git 2.15.1_0 +credential_osxkeychain+doc+pcre+perl5_26+universal is the latest installed
:debug:main git 2.15.1_0 +credential_osxkeychain+doc+pcre+perl5_26+universal is active
:debug:main Merging existing variants '+credential_osxkeychain+doc+pcre+perl5_26+universal' into variants
:debug:main new fully merged portvariants: credential_osxkeychain + atlas - accelerate + universal + pcre + doc + bash_completion + perl5_26 +
:debug:main Changing to port directory: /Users/rschmidt/macports/macports-ports-svn-trunk/devel/git
:debug:main OS darwin/16.7.0 (Mac OS X 10.12) arch i386
:debug:main Re-registering default for configure.universal_args
@ryandesign
ryandesign / main.log
Created November 27, 2017 12:27
povray 3.7.0.4 build failure on macOS Sierra 10.12.6 with Apple LLVM version 9.0.0 (clang-900.0.38) from Xcode 9.1
version:1
:msg:main ---> Computing dependencies for povray:info:main .:debug:main Searching for dependency: autoconf
:debug:main Found Dependency: receipt exists for autoconf
:debug:main Searching for dependency: automake
:debug:main Found Dependency: receipt exists for automake
:debug:main Searching for dependency: pkgconfig
:debug:main Found Dependency: receipt exists for pkgconfig
:debug:main Searching for dependency: boost
:debug:main Found Dependency: receipt exists for boost
:debug:main Searching for dependency: openexr
@ryandesign
ryandesign / twistd.log
Created October 30, 2016 23:11
buildmaster error
2016-10-30 18:10:41-0500 [-] while marking build requests as completed
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/twisted/internet/defer.py", line 434, in errback
self._startRunCallbacks(fail)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/twisted/internet/defer.py", line 501, in _startRunCallbacks
self._runCallbacks()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/twisted/internet/defer.py", line 587, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/twisted/internet/defer.py", line 1241, in gotResult
_inlineCallbacks(r, g, deferred)
@ryandesign
ryandesign / config.log
Created November 4, 2014 02:15
config.log for php-5.6.3RC1 on OS X 10.6.8 with Ryan's patch from #68114
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/Volumes/Data/macports/snowleopard --mandir=/Volumes/Data/macports/snowleopard/share/man --infodir=/Volumes/Data/macports/snowleopard/share/info --program-suffix=56 --includedir=/Volumes/Data/macports/snowleopard/include/php56 --libdir=/Volumes/Data/macports/snowleopard/lib/php56 --with-config-file-path=/Volumes/Data/macports/snowleopard/etc/php56 --with-config-file-scan-dir=/Volumes/Data/macports/snowleopard/var/db/php56 --disable-all --enable-bcmath --enable-ctype --enable-dom --enable-fileinfo --enable-filter --enable-hash --enable-json --enable-libxml --enable-pdo --enable-phar --enable-session --enable-simplexml --enable-tokenizer --enable-xml --enable-xmlreader --enable-xmlwriter --with-bz2=/Volumes/Data/macports/snowleopard --with-mhash=/Volumes/Data/mac
@ryandesign
ryandesign / config.log
Created November 4, 2014 02:14
config.log for php-5.6.3RC1 on OS X 10.6.8
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/Volumes/Data/macports/snowleopard --mandir=/Volumes/Data/macports/snowleopard/share/man --infodir=/Volumes/Data/macports/snowleopard/share/info --program-suffix=56 --includedir=/Volumes/Data/macports/snowleopard/include/php56 --libdir=/Volumes/Data/macports/snowleopard/lib/php56 --with-config-file-path=/Volumes/Data/macports/snowleopard/etc/php56 --with-config-file-scan-dir=/Volumes/Data/macports/snowleopard/var/db/php56 --disable-all --enable-bcmath --enable-ctype --enable-dom --enable-fileinfo --enable-filter --enable-hash --enable-json --enable-libxml --enable-pdo --enable-phar --enable-session --enable-simplexml --enable-tokenizer --enable-xml --enable-xmlreader --enable-xmlwriter --with-bz2=/Volumes/Data/macports/snowleopard --with-mhash=/Volumes/Data/mac
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>EnvironmentVariables</key>
<dict>
<key>NODE_ENV</key>
<string>production</string>
</dict>
<key>Label</key>
@ryandesign
ryandesign / QupZilla-1.6.4-new-window.crash
Created April 14, 2014 19:56
QupZilla 1.6.4 crashes when making a new window
Process: QupZilla [37145]
Path: /Applications/MacPorts/QupZilla.app/Contents/MacOS/QupZilla
Identifier: com.qupzilla.QupZilla
Version: 0
Code Type: X86-64 (Native)
Parent Process: launchd [295]
Responsible: QupZilla [37145]
User ID: 502
Date/Time: 2014-04-14 14:56:25.345 -0500