summaryrefslogtreecommitdiff
path: root/multimedia/xine-lib/patches/patch-ap
blob: 6b7bf720726a47ad90499a20d1bf487c7c6df45f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-ap,v 1.7 2008/01/11 16:05:27 drochner Exp $

--- src/dxr3/Makefile.am.orig	2008-01-01 18:07:56.000000000 +0100
+++ src/dxr3/Makefile.am
@@ -16,6 +16,9 @@ endif
 if HAVE_LIBRTE
 link_rte = -lrte
 endif
+if HAVE_XINERAMA
+link_xinerama = -lXinerama
+endif
 
 xineplug_LTLIBRARIES = $(dxr3_modules) 
 
@@ -42,7 +45,7 @@ xineplug_vo_out_dxr3_la_SOURCES = \
 	dxr3_scr.c \
 	video_out_dxr3.c 
 
-xineplug_vo_out_dxr3_la_LIBADD = $(XINE_LIB) $(link_fame) $(link_rte) $(link_x_libs) $(LTLIBINTL) $(DYNAMIC_LD_LIBS) -lm
+xineplug_vo_out_dxr3_la_LIBADD = $(XINE_LIB) $(link_fame) $(link_rte) $(link_xinerama) $(link_x_libs) $(LTLIBINTL) $(DYNAMIC_LD_LIBS) -lm
 xineplug_vo_out_dxr3_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
 xineplug_vo_out_dxr3_la_LDFLAGS = -avoid-version -module