openbsd-ports/sysutils/node-daemon/patches/patch-lib_daemon_js
jasper d4828b4d48 - don't hardcode the node version in PLIST
breakage spotted by naddy@
fix from aaron bieber
2012-06-08 05:54:04 +00:00

14 lines
382 B
Plaintext

$OpenBSD: patch-lib_daemon_js,v 1.1 2012/06/08 05:54:04 jasper Exp $
--- lib/daemon.js.orig Thu Jun 7 14:29:46 2012
+++ lib/daemon.js Thu Jun 7 14:30:40 2012
@@ -9,7 +9,8 @@
var fs = require('fs'),
binding;
-binding = require('./daemon.' + process.version);
+// Remove version for OpenBSD PLIST Compatibility
+binding = require('./daemon');
var daemon = exports;