aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2011-11-17 23:07:32 +0800
committergahr <gahr@FreeBSD.org>2011-11-17 23:07:32 +0800
commit8e592246e1f61495f4fc4a1fd43471707f5d6c4e (patch)
tree8e405151bb44a8f56b6f3504652bb93c970418f6 /multimedia
parent33f4eb1853b52c22b0b17cbc9269374b0a23899e (diff)
downloadfreebsd-ports-gnome-8e592246e1f61495f4fc4a1fd43471707f5d6c4e.tar.gz
freebsd-ports-gnome-8e592246e1f61495f4fc4a1fd43471707f5d6c4e.tar.zst
freebsd-ports-gnome-8e592246e1f61495f4fc4a1fd43471707f5d6c4e.zip
- Unbreak - fix build with latest x11-toolkits/fltk
Feature safe: yes
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/openmovieeditor/Makefile2
-rw-r--r--multimedia/openmovieeditor/files/patch-Fl_Split.cpp31
2 files changed, 31 insertions, 2 deletions
diff --git a/multimedia/openmovieeditor/Makefile b/multimedia/openmovieeditor/Makefile
index 08edc56b3537..c6045dcd39d6 100644
--- a/multimedia/openmovieeditor/Makefile
+++ b/multimedia/openmovieeditor/Makefile
@@ -28,8 +28,6 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libmpeg3.a:${PORTSDIR}/multimedia/libmpeg3 \
${LOCALBASE}/lib/libquicktime/lqt_lame.so:${PORTSDIR}/multimedia/libquicktime-lame
RUN_DEPENDS= ${LOCALBASE}/lib/libquicktime/lqt_lame.so:${PORTSDIR}/multimedia/libquicktime-lame
-BROKEN= does not compile
-
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_GL= yes
diff --git a/multimedia/openmovieeditor/files/patch-Fl_Split.cpp b/multimedia/openmovieeditor/files/patch-Fl_Split.cpp
new file mode 100644
index 000000000000..416f2c4270b8
--- /dev/null
+++ b/multimedia/openmovieeditor/files/patch-Fl_Split.cpp
@@ -0,0 +1,31 @@
+--- src/Fl_Split.cpp.orig 2011-11-17 15:41:17.000000000 +0100
++++ src/Fl_Split.cpp 2011-11-17 15:46:21.000000000 +0100
+@@ -38,7 +38,7 @@
+
+ void Fl_Split::position(int oix, int oiy, int newx, int newy) {
+ Fl_Widget*const* a = array();
+- short* p = sizes();
++ int* p = sizes();
+ p += 8; // skip group & resizable's saved size
+ for (int i=children(); i--; p += 4) {
+ Fl_Widget* o = *a++;
+@@ -88,7 +88,7 @@
+ return;
+ }
+
+- short* p = sizes();
++ int* p = sizes();
+ // resize this (skip the Fl_Group resize):
+ Fl_Widget::resize(X,Y,W,H);
+
+@@ -155,8 +155,8 @@
+ int oldx = 0;
+ int oldy = 0;
+ Fl_Widget*const* a = array();
+- short* q = sizes();
+- short* p = q+8;
++ int* q = sizes();
++ int* p = q+8;
+ //printf("cursor(%d,%d)\n", mx,my);
+ for (int i=children(); i--; p += 4) {
+ Fl_Widget* o = *a++;