e65efca9b3
use SUBST_CMD instead of perl and fix the version reported by fltk-config. ok landry@
13 lines
505 B
Plaintext
13 lines
505 B
Plaintext
$OpenBSD: patch-src_Fl_Preferences_cxx,v 1.3 2012/08/04 18:07:03 pascal Exp $
|
|
--- src/Fl_Preferences.cxx.orig Wed Jan 19 07:33:48 2011
|
|
+++ src/Fl_Preferences.cxx Fri May 25 11:59:39 2012
|
|
@@ -1088,7 +1088,7 @@ Fl_Preferences::RootNode::RootNode( Fl_Preferences *pr
|
|
break;
|
|
}
|
|
case SYSTEM:
|
|
- strcpy(filename, "/etc/fltk/");
|
|
+ strlcpy(filename, "${SYSCONFDIR}/fltk/", sizeof(filename));
|
|
break;
|
|
}
|
|
snprintf(filename + strlen(filename), sizeof(filename) - strlen(filename),
|