diff -urp xchat-gnome-0.26.1.OLD/src/fe-gnome/Makefile.am xchat-gnome-0.26.1/src/fe-gnome/Makefile.am --- xchat-gnome-0.26.1.OLD/src/fe-gnome/Makefile.am 2007-04-24 18:43:05.000000000 -0400 +++ xchat-gnome-0.26.1/src/fe-gnome/Makefile.am 2010-03-07 15:45:35.667276790 -0500 @@ -113,6 +113,7 @@ xchat_gnome_CFLAGS = \ $(AM_CFLAGS) xchat_gnome_LDFLAGS = \ + -lX11 \ -export-dynamic \ $(AM_LDFLAGS) diff -urp xchat-gnome-0.26.1.OLD/src/fe-gnome/Makefile.in xchat-gnome-0.26.1/src/fe-gnome/Makefile.in --- xchat-gnome-0.26.1.OLD/src/fe-gnome/Makefile.in 2009-04-12 13:48:06.000000000 -0400 +++ xchat-gnome-0.26.1/src/fe-gnome/Makefile.in 2010-03-07 15:45:55.309526635 -0500 @@ -449,6 +449,7 @@ xchat_gnome_CFLAGS = \ $(AM_CFLAGS) xchat_gnome_LDFLAGS = \ + -lX11 \ -export-dynamic \ $(AM_LDFLAGS) diff -urp xchat-gnome-0.26.1.OLD/src/libcontrast/Makefile.am xchat-gnome-0.26.1/src/libcontrast/Makefile.am --- xchat-gnome-0.26.1.OLD/src/libcontrast/Makefile.am 2007-04-24 18:43:04.000000000 -0400 +++ xchat-gnome-0.26.1/src/libcontrast/Makefile.am 2010-03-07 15:56:15.164278726 -0500 @@ -12,6 +12,7 @@ libcontrast_la_CFLAGS = \ $(AM_CFLAGS) libcontrast_la_LDFLAGS = \ + -lm \ $(AM_LDFLAGS) \ -static diff -urp xchat-gnome-0.26.1.OLD/src/libcontrast/Makefile.in xchat-gnome-0.26.1/src/libcontrast/Makefile.in --- xchat-gnome-0.26.1.OLD/src/libcontrast/Makefile.in 2009-04-12 13:48:06.000000000 -0400 +++ xchat-gnome-0.26.1/src/libcontrast/Makefile.in 2010-03-07 15:56:35.529527068 -0500 @@ -297,6 +297,7 @@ libcontrast_la_CFLAGS = \ $(AM_CFLAGS) libcontrast_la_LDFLAGS = \ + -lm \ $(AM_LDFLAGS) \ -static