summaryrefslogtreecommitdiff
path: root/multimedia/mlt/patches/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mlt/patches/patch-ah')
-rw-r--r--multimedia/mlt/patches/patch-ah14
1 files changed, 14 insertions, 0 deletions
diff --git a/multimedia/mlt/patches/patch-ah b/multimedia/mlt/patches/patch-ah
new file mode 100644
index 00000000000..d25941c7f03
--- /dev/null
+++ b/multimedia/mlt/patches/patch-ah
@@ -0,0 +1,14 @@
+$NetBSD: patch-ah,v 1.1.1.1 2010/10/19 16:37:40 abs Exp $
+# Use CXX rather than CC to link c++, to ensure correct handling on more platforms
+
+--- src/modules/kino/Makefile.orig 2010-09-14 06:00:09.000000000 +0000
++++ src/modules/kino/Makefile
+@@ -30,7 +30,7 @@ SRCS := $(OBJS:.o=.c) $(CPPOBJS:.o=.cc)
+ all: $(TARGET)
+
+ $(TARGET): $(OBJS) $(CPPOBJS)
+- $(CC) -shared -o $@ $(OBJS) $(CPPOBJS) $(LDFLAGS)
++ $(CXX) -shared -o $@ $(OBJS) $(CPPOBJS) $(LDFLAGS)
+
+ depend: $(SRCS)
+ $(CC) -MM $(CFLAGS) $^ 1>.depend