summaryrefslogtreecommitdiff
path: root/x11-toolkits/gtk12
diff options
context:
space:
mode:
authorJacques Vidrine <nectar@FreeBSD.org>2001-12-20 19:18:58 +0000
committerJacques Vidrine <nectar@FreeBSD.org>2001-12-20 19:18:58 +0000
commita5efa8078d71461572d85d3890476d6fac06a7a5 (patch)
tree41ed08bff195693dabad1faebb568038f7f2e3d2 /x11-toolkits/gtk12
parento If either WITH_LIBARTS or WITH_VORBIS were defined, LIB_DEPENDS (diff)
When creating shared memory segments, make them readable/writable
only by the owner.
Notes
Notes: svn path=/head/; revision=51898
Diffstat (limited to 'x11-toolkits/gtk12')
-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)
+ {