# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# 
# T2 SDE: package/.../gtkterm/vte.patch
# Copyright (C) 2007 The T2 SDE Project
# 
# More information can be found in the files COPYING and README.
# 
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---

--- gtkterm-0.99.5/src/Makefile.in.vanilla	2007-07-10 18:03:53.000000000 -0400
+++ gtkterm-0.99.5/src/Makefile.in	2007-07-10 18:07:29.000000000 -0400
@@ -149,7 +149,7 @@
 	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 CCLD = $(CC)
 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-CFLAGS = @CFLAGS@
+CFLAGS = @CFLAGS@  $(shell pkg-config vte --cflags)
 DIST_SOURCES = $(gtkterm_SOURCES)
 DIST_COMMON = Makefile.am Makefile.in
 SOURCES = $(gtkterm_SOURCES)