RE: garnome-0.20.0: compile fails at gnome-terminal



I was having this same problem, so I decided to check out a CVS copy of
gnome-terminal to see if it was fixed in there, according to the change log
it's a compile problem with gcc 2.95. I fixed it by overwritting
encoding.c with the one from cvs. The only difference is that one line
is moved. I attached a patch that fixes it. Apply it with patch -p1 < patch
inside the gnome-terminal-2.1.4 directory. Hope I was of some help.

Jordan
*** gnome-terminal-2.1.4/src/encoding.c	Fri Jan 10 00:08:03 2003
--- gnome-terminal/src/encoding.c	Sat Jan 11 10:13:00 2003
***************
*** 353,358 ****
      {
        const TerminalEncoding *e;
-       charset = tmp->data;
        TerminalEncoding *encoding;
        
        if (strcmp (charset, "current") == 0)
--- 353,358 ----
      {
        const TerminalEncoding *e;
        TerminalEncoding *encoding;
+       charset = tmp->data;
        
        if (strcmp (charset, "current") == 0)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]