freebsd-ports/devel/gide/files/patch-ar
Michael Haro abf7b6338c - Divide patch one file per patch
PR:		17740
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
2000-04-01 23:42:08 +00:00

50 lines
1.7 KiB
Plaintext

--- src/gide.c.orig Sun Feb 27 00:59:52 2000
+++ src/gide.c Sun Apr 2 02:51:26 2000
@@ -223,7 +223,7 @@
cfg->fontname = (gchar *) realloc( cfg->fontname, 100 );
- strcpy( cfg->fontname, "-dec-terminal-medium-r-normal-*-*-140-*-*-c-*-iso8859-1" );
+ strcpy( cfg->fontname, "-dec-terminal-medium-r-normal-*-*-140-*-*-c-*-iso8859-1,*" );
/* cfg->font = NULL;*/
cfg->disable_font_stuff = FALSE;
cfg->bgcol = NULL;
@@ -260,16 +260,16 @@
cfg->tab_width = 4;
cfg->incpath = (gchar *) realloc( cfg->incpath, 40 );
- strcpy( cfg->incpath, "/usr/include:/usr/local/include" );
+ strcpy( cfg->incpath, "/usr/include:%%LOCALBASE%%/include:%%X11BASE%%/include" );
cfg->ccopt = (gchar *) realloc( cfg->ccopt, 2 );
strcpy( cfg->ccopt, "" );
cfg->libpath = (gchar *) realloc( cfg->libpath, 40 );
- strcpy( cfg->libpath, "/lib:/usr/lib:/usr/local/lib" );
+ strcpy( cfg->libpath, "/lib:/usr/lib:%%LOCALBASE%%/lib:%%X11BASE%%/lib" );
cfg->ldopt = (gchar *) realloc( cfg->ldopt, 2 );
strcpy( cfg->ldopt, "" );
cfg->bash = (gchar *) realloc( cfg->bash, 20 );
- strcpy( cfg->bash, "/bin/bash" );
+ strcpy( cfg->bash, "/bin/sh" );
cfg->xterm = (gchar *) realloc( cfg->xterm, 10 );
strcpy( cfg->xterm, "xterm" );
@@ -298,7 +298,7 @@
}
cfg->style = gtk_style_new();
gdk_font_unref( cfg->style->font );
- cfg->style->font = gdk_font_load( cfg->fontname );
+ cfg->style->font = gdk_fontset_load( cfg->fontname );
/* if( !cfg->style->font )
{
strcpy( cfg->fontname, "default font???" );
@@ -419,7 +419,7 @@
}
cfg->style = gtk_style_new();
gdk_font_unref( cfg->style->font );
- if( (new_font = gdk_font_load( cfg->fontname )) )
+ if( (new_font = gdk_fontset_load( cfg->fontname )) )
{
cfg->style->font = new_font;
}