aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtk--2
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1999-05-12 19:52:46 +0800
committerasami <asami@FreeBSD.org>1999-05-12 19:52:46 +0800
commit93b6e642deef767c0c56930aab2998c8219a3900 (patch)
tree9876029c0d4aed475233bcf7275b26581bb09847 /x11-toolkits/gtk--2
parent664cc2632b51ac414b44360bdc07c53d7dee9cf8 (diff)
downloadfreebsd-ports-graphics-93b6e642deef767c0c56930aab2998c8219a3900.tar.gz
freebsd-ports-graphics-93b6e642deef767c0c56930aab2998c8219a3900.tar.zst
freebsd-ports-graphics-93b6e642deef767c0c56930aab2998c8219a3900.zip
Make this compile.
Submitted by: Jeremy Lea <reg@shale.csir.co.za>
Diffstat (limited to 'x11-toolkits/gtk--2')
-rw-r--r--x11-toolkits/gtk--2/files/patch-ah11
-rw-r--r--x11-toolkits/gtk--2/pkg-plist1
2 files changed, 12 insertions, 0 deletions
diff --git a/x11-toolkits/gtk--2/files/patch-ah b/x11-toolkits/gtk--2/files/patch-ah
new file mode 100644
index 00000000000..9f278686ff6
--- /dev/null
+++ b/x11-toolkits/gtk--2/files/patch-ah
@@ -0,0 +1,11 @@
+--- gdk--/gdk--/window.cc.orig Mon May 10 00:08:58 1999
++++ gdk--/gdk--/window.cc Mon May 10 00:24:00 1999
+@@ -57,7 +57,7 @@
+ Gdk_Window::Gdk_Window(const Gdk_WindowAttr &attributes,
+ gint attributes_mask):Gdk_Drawable(0)
+ {
+- create(NULL,attributes,attributes_mask);
++ create((Gdk_Window &)gdk_root_parent,attributes,attributes_mask);
+ }
+
+ Gdk_Window::~Gdk_Window()
diff --git a/x11-toolkits/gtk--2/pkg-plist b/x11-toolkits/gtk--2/pkg-plist
index 4fc958e96ba..4d4ac7b0dd6 100644
--- a/x11-toolkits/gtk--2/pkg-plist
+++ b/x11-toolkits/gtk--2/pkg-plist
@@ -208,3 +208,4 @@ share/aclocal/gtk--.m4
@dirrm include/gtk--
@dirrm include/gdk--/extra
@dirrm include/gdk--
+@unexec rmdir %D/share/aclocal 2>/dev/null || true