aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11-toolkits/gtk12/Makefile2
-rw-r--r--x11-toolkits/gtk12/files/patch-gdk::gdkimage.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/x11-toolkits/gtk12/Makefile b/x11-toolkits/gtk12/Makefile
index b73b644b4f5b..03931acaba02 100644
--- a/x11-toolkits/gtk12/Makefile
+++ b/x11-toolkits/gtk12/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gtk
PORTVERSION= 1.2.10
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/gtk+
diff --git a/x11-toolkits/gtk12/files/patch-gdk::gdkimage.c b/x11-toolkits/gtk12/files/patch-gdk::gdkimage.c
new file mode 100644
index 000000000000..ba18a62305b7
--- /dev/null
+++ b/x11-toolkits/gtk12/files/patch-gdk::gdkimage.c
@@ -0,0 +1,11 @@
+--- gdk/gdkimage.c.orig Wed Dec 19 08:39:12 2001
++++ gdk/gdkimage.c Wed Dec 19 08:39:19 2001
+@@ -213,7 +213,7 @@
+
+ x_shm_info->shmid = shmget (IPC_PRIVATE,
+ private->ximage->bytes_per_line * private->ximage->height,
+- IPC_CREAT | 0777);
++ IPC_CREAT | SHM_R | SHM_W);
+
+ if (x_shm_info->shmid == -1)
+ {