diff --git a/graphics/gimp/Makefile b/graphics/gimp/Makefile index e4f704dc432..889a6f6a7ab 100644 --- a/graphics/gimp/Makefile +++ b/graphics/gimp/Makefile @@ -1,9 +1,10 @@ -# $OpenBSD: Makefile,v 1.70 2002/05/13 23:31:24 espie Exp $ +# $OpenBSD: Makefile,v 1.71 2002/06/14 17:18:06 todd Exp $ COMMENT= "GNU Image Manipulation Program" VERSION= 1.2.2 DISTNAME= gimp-${VERSION} +PKGNAME= ${DISTNAME}p1 CATEGORIES= graphics NEED_VERSION= 1.486 V= gimp/v1.2/${VERSION} diff --git a/graphics/gimp/patches/patch-app_plug_in_c b/graphics/gimp/patches/patch-app_plug_in_c new file mode 100644 index 00000000000..6d002845a0c --- /dev/null +++ b/graphics/gimp/patches/patch-app_plug_in_c @@ -0,0 +1,12 @@ +$OpenBSD: patch-app_plug_in_c,v 1.1 2002/06/14 17:18:06 todd Exp $ +--- app/plug_in.c.orig Wed Jun 12 09:14:05 2002 ++++ app/plug_in.c Wed Jun 12 09:14:19 2002 +@@ -224,7 +224,7 @@ plug_in_init_shm (void) + */ + + #ifdef HAVE_SHM_H +- shm_ID = shmget (IPC_PRIVATE, TILE_WIDTH * TILE_HEIGHT * 4, IPC_CREAT | 0777); ++ shm_ID = shmget (IPC_PRIVATE, TILE_WIDTH * TILE_HEIGHT * 4, IPC_CREAT | 0600); + + if (shm_ID == -1) + g_message ("shmget() failed: Disabling shared memory tile transport."); diff --git a/graphics/gimp/patches/patch-configure b/graphics/gimp/patches/patch-configure index 9b8f1ec3074..80d8652567c 100644 --- a/graphics/gimp/patches/patch-configure +++ b/graphics/gimp/patches/patch-configure @@ -1,7 +1,16 @@ -$OpenBSD: patch-configure,v 1.4 2001/08/09 01:43:16 brad Exp $ ---- configure.orig Thu Jul 26 14:13:35 2001 -+++ configure Wed Aug 8 14:29:47 2001 -@@ -7116,9 +7116,9 @@ +$OpenBSD: patch-configure,v 1.5 2002/06/14 17:18:06 todd Exp $ +--- configure.orig Thu Jul 26 13:13:35 2001 ++++ configure Wed Jun 12 09:14:58 2002 +@@ -5297,7 +5297,7 @@ else + { + int id; + char *shmaddr; +- id = shmget (IPC_PRIVATE, 4, IPC_CREAT | 0777); ++ id = shmget (IPC_PRIVATE, 4, IPC_CREAT | 0600); + if (id == -1) + exit (2); + shmaddr = shmat (id, 0, 0); +@@ -7116,9 +7116,9 @@ fi fi