freebsd-ports/devel/glade--/files/patch-ab
Maxim Sobolev eb8709351b Update to 0.5.10.
PR:		22765
Submitted by:	maintainer
2000-11-11 11:38:00 +00:00

26 lines
888 B
Plaintext

--- src/glade--.cc.orig Wed Oct 11 15:43:35 2000
+++ src/glade--.cc Sat Nov 11 16:42:44 2000
@@ -86,7 +86,7 @@
static void call_gtkmm_config()
{ char buf[80];
- FILE *f=popen("gtk-config --version","r");
+ FILE *f=popen("/usr/X11R6/bin/gtk12-config --version","r");
if (f)
{ if (fgets(buf,sizeof(buf),f))
{ for (unsigned char *s=(unsigned char*)buf;*s;s++)
@@ -95,11 +95,11 @@
Gtk_Version v;
if (parse_version(buf,v))
Configuration.gtk_version=v;
- else cerr << "gtk-config --version: strange result '" << buf << "'\n";
+ else cerr << "/usr/X11R6/bin/gtk12-config --version: strange result '" << buf << "'\n";
}
pclose(f);
}
- else perror("gtk-config");
+ else perror("/usr/X11R6/bin/gtk12-config");
f=popen("gtkmm-config --version","r");
if (f)
{ if (fgets(buf,sizeof(buf),f))