openbsd-ports/x11/gnome/moserial/patches/patch-src_Settings_c
2011-10-05 16:55:43 +00:00

16 lines
1.3 KiB
Plaintext

$OpenBSD: patch-src_Settings_c,v 1.3 2011/10/05 16:55:43 jasper Exp $
Remove Linux device names in favor of what BSD uses.
--- src/Settings.c.orig Wed Oct 5 17:10:39 2011
+++ src/Settings.c Wed Oct 5 17:10:55 2011
@@ -581,7 +581,7 @@ static void settings_class_init (SettingsClass * klass
g_object_class_install_property (G_OBJECT_CLASS (klass), SETTINGS_HANDSHAKE, g_param_spec_enum ("handshake", "handshake", "handshake", SETTINGS_TYPE_HANDSHAKE, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
g_object_class_install_property (G_OBJECT_CLASS (klass), SETTINGS_ACCESS_MODE, g_param_spec_enum ("accessMode", "accessMode", "accessMode", SETTINGS_TYPE_ACCESS_MODE, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
g_object_class_install_property (G_OBJECT_CLASS (klass), SETTINGS_LOCAL_ECHO, g_param_spec_boolean ("localEcho", "localEcho", "localEcho", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
- _tmp0_ = g_strdup ("/dev/ttyS0");
+ _tmp0_ = g_strdup ("/dev/cua00");
settings_DEFAULT_DEVICEFILE = _tmp0_;
}