summaryrefslogtreecommitdiff
path: root/x11-toolkits/gtk12/files/patch-gdk__gdkimage.c
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-29 16:36:06 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-29 16:36:06 +0000
commit0ce9c970cf1f04781b118a59f97f3eb1664b66e8 (patch)
treef7a394b0aac405fa51a73c089493e2d03e9df09a /x11-toolkits/gtk12/files/patch-gdk__gdkimage.c
parent- Fix the implicit requirement lines of the pkg-config files to use libav's (diff)
Rename x11-*/ patch-xy patches to reflect the files they modify.
Finally, this is the last of it.
Diffstat (limited to 'x11-toolkits/gtk12/files/patch-gdk__gdkimage.c')
-rw-r--r--x11-toolkits/gtk12/files/patch-gdk__gdkimage.c11
1 files changed, 11 insertions, 0 deletions
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)
+ {