aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2012-09-10 16:50:13 +0800
committerpgj <pgj@FreeBSD.org>2012-09-10 16:50:13 +0800
commitac831aba0c99007d05262fcae301126a35a2f867 (patch)
tree72caad46e998c5808bb22ac4863811c06f70337b /x11-toolkits
parent8afa3dc69f4c1ba757a98029996678f44d029eac (diff)
downloadfreebsd-ports-gnome-ac831aba0c99007d05262fcae301126a35a2f867.tar.gz
freebsd-ports-gnome-ac831aba0c99007d05262fcae301126a35a2f867.tar.zst
freebsd-ports-gnome-ac831aba0c99007d05262fcae301126a35a2f867.zip
- Fix build with wxGTK 2.9.4
Reported by: beatmail (via pointyhat) Obtained from: FreeBSD Haskell
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/hs-wxc/files/patch-src__cpp__eljpen.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-toolkits/hs-wxc/files/patch-src__cpp__eljpen.cpp b/x11-toolkits/hs-wxc/files/patch-src__cpp__eljpen.cpp
new file mode 100644
index 000000000000..577dcdee6b0b
--- /dev/null
+++ b/x11-toolkits/hs-wxc/files/patch-src__cpp__eljpen.cpp
@@ -0,0 +1,11 @@
+--- ./src/cpp/eljpen.cpp.orig 2012-07-03 11:12:17.000000000 +0100
++++ ./src/cpp/eljpen.cpp 2012-09-06 15:58:22.000000000 +0100
+@@ -156,7 +156,7 @@
+ EWXWEXPORT(void,wxPen_GetStipple)(void* self,wxBitmap* _ref)
+ {
+ #if defined(__WXGTK__)
+- *_ref = NULL;
++ *_ref = (GdkPixbuf *) NULL;
+ #else
+ *_ref = *(((wxPen*)self)->GetStipple());
+ #endif