aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2011-09-07 03:15:10 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2011-09-07 03:15:10 +0800
commite9ecec869193d71861dbecdb12ca5515f9c3f67e (patch)
tree170daa57f9bfbf5fb829bea3ea36db2078a7e8e5 /graphics
parent281f5c561ab5c74622c41e90e798f9a5e75cb350 (diff)
downloadfreebsd-ports-gnome-e9ecec869193d71861dbecdb12ca5515f9c3f67e.tar.gz
freebsd-ports-gnome-e9ecec869193d71861dbecdb12ca5515f9c3f67e.tar.zst
freebsd-ports-gnome-e9ecec869193d71861dbecdb12ca5515f9c3f67e.zip
- Fix segfault with OpenGL selected as the only renderer
PR: 156088 Submitted by: Lars <dakta@gmx.de>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gnash/Makefile1
-rw-r--r--graphics/gnash/files/patch-gui-gtk-gtk_canvas.cpp11
2 files changed, 12 insertions, 0 deletions
diff --git a/graphics/gnash/Makefile b/graphics/gnash/Makefile
index 0293d7a53080..153aa7b34a3e 100644
--- a/graphics/gnash/Makefile
+++ b/graphics/gnash/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnash
PORTVERSION= 0.8.9
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= GNU/${PORTNAME}/${PORTVERSION}/ \
http://mirror.amdmi3.ru/distfiles/
diff --git a/graphics/gnash/files/patch-gui-gtk-gtk_canvas.cpp b/graphics/gnash/files/patch-gui-gtk-gtk_canvas.cpp
new file mode 100644
index 000000000000..cba4691d15cc
--- /dev/null
+++ b/graphics/gnash/files/patch-gui-gtk-gtk_canvas.cpp
@@ -0,0 +1,11 @@
+--- gui/gtk/gtk_canvas.cpp.orig 2011-02-26 21:11:07.000000000 +0300
++++ gui/gtk/gtk_canvas.cpp 2011-09-06 23:13:28.000000000 +0400
+@@ -207,7 +207,7 @@
+ renderer = "agg";
+ #elif defined (RENDERER_CAIRO)
+ renderer = "cairo";
+-#elif defined (RENDERER_OGL)
++#elif defined (RENDERER_OPENGL)
+ renderer = "opengl";
+ #endif
+ }