diff options
author | joerg <joerg@pkgsrc.org> | 2005-12-19 16:24:12 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2005-12-19 16:24:12 +0000 |
commit | 1ff999ca1f4f1f15dda3ca99b5bc3c1159e5f9c1 (patch) | |
tree | d4b5ebae03b6a15f2f07f5386e1d6036f534fd7a /graphics/urt | |
parent | a1407253f2e5b03871480f07c8614c2fef01085b (diff) | |
download | pkgsrc-1ff999ca1f4f1f15dda3ca99b5bc3c1159e5f9c1.tar.gz |
Fix errno.
Diffstat (limited to 'graphics/urt')
-rw-r--r-- | graphics/urt/distinfo | 3 | ||||
-rw-r--r-- | graphics/urt/patches/patch-au | 29 |
2 files changed, 31 insertions, 1 deletions
diff --git a/graphics/urt/distinfo b/graphics/urt/distinfo index 82d2f0a2047..4bec9248b4d 100644 --- a/graphics/urt/distinfo +++ b/graphics/urt/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.5 2005/02/24 08:45:14 agc Exp $ +$NetBSD: distinfo,v 1.6 2005/12/19 16:24:12 joerg Exp $ SHA1 (urt-3.1b.tar.Z) = 370b19c9e7019a7258754e7494b7ae2d7fe138ac RMD160 (urt-3.1b.tar.Z) = fd99f3a4ec7cb6c9195752e227ad95428e331bba @@ -32,3 +32,4 @@ SHA1 (patch-aq) = 48c32f85cca8283ecd475ccf4c603ac099b9a253 SHA1 (patch-ar) = 728e652142bc906dfbad7ee73a928b19b43d9a06 SHA1 (patch-as) = 282b6917daccc7bbfee600b8ea6dbeea8bf6fa86 SHA1 (patch-at) = 4c51def08bb75205ea595c9f1c602b6d427c64e6 +SHA1 (patch-au) = ff9e09f3877fc83dad5f275e317e66638f5b8c21 diff --git a/graphics/urt/patches/patch-au b/graphics/urt/patches/patch-au new file mode 100644 index 00000000000..bdf742ffd19 --- /dev/null +++ b/graphics/urt/patches/patch-au @@ -0,0 +1,29 @@ +$NetBSD: patch-au,v 1.1 2005/12/19 16:24:12 joerg Exp $ + +--- get/getx11/x11_stuff.c.orig 2005-12-19 16:06:34.000000000 +0000 ++++ get/getx11/x11_stuff.c +@@ -40,7 +40,7 @@ + */ + #include "getx11.h" + #ifdef X_SHARED_MEMORY +-#include <sys/errno.h> ++#include <errno.h> + #endif + + #include "circle.bitmap" +@@ -155,7 +155,6 @@ Boolean share; + IPC_CREAT|0777 ); + if ( img->shm_img.shmid < 0 ) + { +- extern int errno; + if ( errno == ENOSPC ) + { + if ( !no_shared_space ) +@@ -361,7 +360,6 @@ Boolean reallocate; + XDestroyImage( image ); + if ( img->shm_pix.shmid < 0 ) + { +- extern int errno; + if ( errno == ENOSPC ) + { + if ( !no_shared_space ) |