aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoravilla <avilla@FreeBSD.org>2012-05-16 04:34:48 +0800
committeravilla <avilla@FreeBSD.org>2012-05-16 04:34:48 +0800
commitf4ad17b8302b53a2d8270365485e267042eba083 (patch)
treea931b2297b586c8da453d2570a2d8ba779b47136
parent31a7f788bfbca9765adfd9babeb0e9c7934a6a3c (diff)
downloadfreebsd-ports-gnome-f4ad17b8302b53a2d8270365485e267042eba083.tar.gz
freebsd-ports-gnome-f4ad17b8302b53a2d8270365485e267042eba083.tar.zst
freebsd-ports-gnome-f4ad17b8302b53a2d8270365485e267042eba083.zip
- Fix build on FreeBSD 10.
Reported by: andy@neu.net via mailing list
-rw-r--r--multimedia/mlt/files/patch-src__modules__kdenlive__Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/multimedia/mlt/files/patch-src__modules__kdenlive__Makefile b/multimedia/mlt/files/patch-src__modules__kdenlive__Makefile
new file mode 100644
index 000000000000..ee8058e8832e
--- /dev/null
+++ b/multimedia/mlt/files/patch-src__modules__kdenlive__Makefile
@@ -0,0 +1,16 @@
+--- ./src/modules/kdenlive/Makefile.orig 2012-05-15 08:54:26.554246237 +0200
++++ ./src/modules/kdenlive/Makefile 2012-05-15 08:57:20.794280283 +0200
+@@ -3,6 +3,13 @@
+ LDFLAGS += -L../../framework -lmlt
+
+ include ../../../config.mak
++include ../../framework/config.mak
++
++ifeq ($(targetos), FreeBSD)
++ ifdef HAVE_SYS_PARAM_H
++ CFLAGS += -DHAVE_SYS_PARAM_H
++ endif
++endif
+
+ TARGET = ../libmltkdenlive$(LIBSUF)
+