File xvidcap-fix_linking.patch of Package xvidcap

--- src/Makefile.am.orig	2011-11-14 23:10:53.406000898 +0100
+++ src/Makefile.am	2011-11-14 23:12:02.714000890 +0100
@@ -12,7 +12,6 @@
 
 AM_CFLAGS =\
 	 -Wall\
-	 -g \
 	 -DDBUS_SERVICE_DIR=\""$(datadir)/dbus-1/service"\"
 #	 -DDEBUG -DDEBUG2
 
@@ -54,7 +53,7 @@
         eggtrayicon.h \
         eggtrayicon.c
 
-xvidcap_LDADD = $(PACKAGE_LIBS)
+xvidcap_LDADD = $(PACKAGE_LIBS) -lX11 -lXext -lz
 
 if SOLARIS
 xvidcap_LDFLAGS = 
--- src/Makefile.in.orig	2011-11-14 23:12:16.174000836 +0100
+++ src/Makefile.in	2011-11-14 23:12:30.551000896 +0100
@@ -279,7 +279,6 @@
 
 AM_CFLAGS = \
 	 -Wall\
-	 -g \
 	 -DDBUS_SERVICE_DIR=\""$(datadir)/dbus-1/service"\"
 
 xvidcap_SOURCES = app_data.c app_data.h capture.c capture.h codecs.c \
@@ -290,7 +289,7 @@
 	xtoxwd.c xtoxwd.h job.c job.h xvc_error_item.c \
 	xvc_error_item.h xvidcap-intl.h eggtrayicon.h eggtrayicon.c \
 	$(am__append_2)
-xvidcap_LDADD = $(PACKAGE_LIBS) $(am__append_1)
+xvidcap_LDADD = $(PACKAGE_LIBS) $(am__append_1) -lX11 -lXext -lz
 @SOLARIS_FALSE@xvidcap_LDFLAGS = -export-dynamic
 @SOLARIS_TRUE@xvidcap_LDFLAGS = 
 EXTRA_DIST = $(glade_DATA) $(am__append_4)