pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/urt Fix errno.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c7e2c6db3409
branches:  trunk
changeset: 504724:c7e2c6db3409
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Dec 19 16:24:12 2005 +0000

description:
Fix errno.

diffstat:

 graphics/urt/distinfo         |   3 ++-
 graphics/urt/patches/patch-au |  29 +++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+), 1 deletions(-)

diffs (47 lines):

diff -r eb7c5f37140f -r c7e2c6db3409 graphics/urt/distinfo
--- a/graphics/urt/distinfo     Mon Dec 19 16:22:56 2005 +0000
+++ b/graphics/urt/distinfo     Mon Dec 19 16:24:12 2005 +0000
@@ -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-ar) = 728e652142bc906dfbad7ee73a928b19b43d9a06
 SHA1 (patch-as) = 282b6917daccc7bbfee600b8ea6dbeea8bf6fa86
 SHA1 (patch-at) = 4c51def08bb75205ea595c9f1c602b6d427c64e6
+SHA1 (patch-au) = ff9e09f3877fc83dad5f275e317e66638f5b8c21
diff -r eb7c5f37140f -r c7e2c6db3409 graphics/urt/patches/patch-au
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/urt/patches/patch-au     Mon Dec 19 16:24:12 2005 +0000
@@ -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 )



Home | Main Index | Thread Index | Old Index