pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/jgrasp Fix errno.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5ac808080805
branches:  trunk
changeset: 512783:5ac808080805
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon May 15 19:41:45 2006 +0000

description:
Fix errno.

diffstat:

 devel/jgrasp/Makefile         |   5 ++++-
 devel/jgrasp/distinfo         |   3 ++-
 devel/jgrasp/patches/patch-aa |  22 ++++++++++++++++++++++
 3 files changed, 28 insertions(+), 2 deletions(-)

diffs (56 lines):

diff -r ce893210171a -r 5ac808080805 devel/jgrasp/Makefile
--- a/devel/jgrasp/Makefile     Mon May 15 19:27:55 2006 +0000
+++ b/devel/jgrasp/Makefile     Mon May 15 19:41:45 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2006/02/14 01:09:07 rillig Exp $
+# $NetBSD: Makefile,v 1.13 2006/05/15 19:41:45 joerg Exp $
 #
 
 DISTNAME=              jgrasp170
@@ -27,6 +27,9 @@
                -o ${WRKSRC}/bin/${LOWER_OPSYS}/jgrasp                  \
                ${WRKSRC}/src/linux_exec.c
 
+pre-install:
+       ${RM} -f ${WRKSRC}/src/linux_exec.c.orig
+
 do-install:
        ${INSTALL_PROGRAM_DIR} ${PREFIX}/${PKGNAME_NOREV}
        ${INSTALL_PROGRAM_DIR} ${PREFIX}/${PKGNAME_NOREV}/bin
diff -r ce893210171a -r 5ac808080805 devel/jgrasp/distinfo
--- a/devel/jgrasp/distinfo     Mon May 15 19:27:55 2006 +0000
+++ b/devel/jgrasp/distinfo     Mon May 15 19:41:45 2006 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 22:24:17 agc Exp $
+$NetBSD: distinfo,v 1.4 2006/05/15 19:41:45 joerg Exp $
 
 SHA1 (jgrasp170.zip) = b0826739e1d57ef02137d591b67f4b60b02e1840
 RMD160 (jgrasp170.zip) = e90b47481b0b3c532bd55a8f237777c90fac8305
 Size (jgrasp170.zip) = 2337074 bytes
+SHA1 (patch-aa) = 4c4c869437955dab6de947b7555f13cd3db3c2cc
diff -r ce893210171a -r 5ac808080805 devel/jgrasp/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/jgrasp/patches/patch-aa     Mon May 15 19:41:45 2006 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1 2006/05/15 19:41:45 joerg Exp $
+
+--- src/linux_exec.c.orig      2006-05-15 19:33:10.000000000 +0000
++++ src/linux_exec.c
+@@ -2,7 +2,7 @@
+ #ifndef DEPEND_IGNORE
+ #include <X11/Intrinsic.h>
+ #include <X11/Shell.h>
+-#include <sys/errno.h>
++#include <errno.h>
+ #include <sys/param.h>
+ #include <sys/stat.h>
+ #include <sys/wait.h>
+@@ -16,8 +16,6 @@
+ 
+    /* Compile with something like: gcc -L/usr/X11/lib -lX11 linux_exec.c */
+ 
+-   extern int errno;
+-
+    #define NOT_RUNNING 0
+    #define SENT 1
+    #define NO_REPLY 2



Home | Main Index | Thread Index | Old Index