diff options
author | joerg <joerg@pkgsrc.org> | 2006-05-15 19:41:45 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-05-15 19:41:45 +0000 |
commit | 2b64c4252c723cde187648d626d22953d3bd750d (patch) | |
tree | cef2b0e5163c8e1a5daa2514f02207f55f3cc228 /devel | |
parent | 037b2cfcbfdba8293d3501159796874b829ed234 (diff) | |
download | pkgsrc-2b64c4252c723cde187648d626d22953d3bd750d.tar.gz |
Fix errno.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/jgrasp/Makefile | 5 | ||||
-rw-r--r-- | devel/jgrasp/distinfo | 3 | ||||
-rw-r--r-- | devel/jgrasp/patches/patch-aa | 22 |
3 files changed, 28 insertions, 2 deletions
diff --git a/devel/jgrasp/Makefile b/devel/jgrasp/Makefile index 9514195be28..2decf94f406 100644 --- a/devel/jgrasp/Makefile +++ b/devel/jgrasp/Makefile @@ -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 @@ do-build: -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 --git a/devel/jgrasp/distinfo b/devel/jgrasp/distinfo index 3cee1865135..9ec434728d5 100644 --- a/devel/jgrasp/distinfo +++ b/devel/jgrasp/distinfo @@ -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 --git a/devel/jgrasp/patches/patch-aa b/devel/jgrasp/patches/patch-aa new file mode 100644 index 00000000000..0a9c3bf6b5c --- /dev/null +++ b/devel/jgrasp/patches/patch-aa @@ -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 |