summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2014-03-20 12:38:26 +0000
committergdt <gdt@pkgsrc.org>2014-03-20 12:38:26 +0000
commit215d410bf2641fdb842a3a2f4df93385de46c14c (patch)
treec18ef33482e8c6ed74bd26a6eefed8a4852c9cd9 /editors
parentb585e01fe23c150fd6f0bfbdc475777887462512 (diff)
downloadpkgsrc-215d410bf2641fdb842a3a2f4df93385de46c14c.tar.gz
Include <stdint.h> before using uintptr_t.
Pointed out by Iain Morgan on pkgsrc-users as causing a build failure on Linux.
Diffstat (limited to 'editors')
-rw-r--r--editors/nedit/Makefile5
-rw-r--r--editors/nedit/distinfo4
-rw-r--r--editors/nedit/patches/patch-util_prefFile.c14
3 files changed, 16 insertions, 7 deletions
diff --git a/editors/nedit/Makefile b/editors/nedit/Makefile
index f3b2a274651..391493acab2 100644
--- a/editors/nedit/Makefile
+++ b/editors/nedit/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.53 2013/06/23 09:30:14 mbalmer Exp $
+# $NetBSD: Makefile,v 1.54 2014/03/20 12:38:26 gdt Exp $
DISTNAME= nedit-${VERS}-src
PKGNAME= nedit-${VERS}
-PKGREVISION= 6
+PKGREVISION= 7
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_NEDIT:=v${VERS:S/./_/g}/} \
${MASTER_SITE_SOURCEFORGE:=nedit/}
@@ -11,6 +11,7 @@ EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.nedit.org/
COMMENT= Motif based standard GUI style text editor
+LICENSE= gnu-gpl-v2
VERS= 5.5
MASTER_SITE_NEDIT= http://www.nedit.org/ftp/ \
diff --git a/editors/nedit/distinfo b/editors/nedit/distinfo
index dc00d122bec..d31d56c0f6f 100644
--- a/editors/nedit/distinfo
+++ b/editors/nedit/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.15 2013/06/23 09:45:52 obache Exp $
+$NetBSD: distinfo,v 1.16 2014/03/20 12:38:26 gdt Exp $
SHA1 (nedit-5.5-src.tar.bz2) = 7d3c87a793a5047cf857af1ac82e39f3b33e8a87
RMD160 (nedit-5.5-src.tar.bz2) = 93fce64bdc5d8a9eff86ab76cec67d44d676d0eb
@@ -23,4 +23,4 @@ SHA1 (patch-source_textDrag.c) = 8b66f1bb80bbc2b3cf3751ff7c601ded34b54646
SHA1 (patch-source_userCmds.c) = 22c6468cffd2cd0d10af03452a2c14d63e893cbe
SHA1 (patch-source_window.c) = 72fda2bf7cc178ec57f38d25915dab8a8765874d
SHA1 (patch-util_misc.c) = d3445336389fc26b69b2e0205930f8843f224784
-SHA1 (patch-util_prefFile.c) = 4accc0a25c7744076a7f8ee72c0a04328f0db915
+SHA1 (patch-util_prefFile.c) = 2fb587dd1a4b27a16469b31f4355b9d7e62b37da
diff --git a/editors/nedit/patches/patch-util_prefFile.c b/editors/nedit/patches/patch-util_prefFile.c
index 07c4023f8ef..fa5c4316a75 100644
--- a/editors/nedit/patches/patch-util_prefFile.c
+++ b/editors/nedit/patches/patch-util_prefFile.c
@@ -1,10 +1,18 @@
-$NetBSD: patch-util_prefFile.c,v 1.1 2013/04/28 20:35:23 dholland Exp $
+$NetBSD: patch-util_prefFile.c,v 1.2 2014/03/20 12:38:26 gdt Exp $
Silence gcc warnings about unsafe pointer casts.
---- util/prefFile.c~ 2004-07-21 11:32:07.000000000 +0000
+--- util/prefFile.c.orig 2004-07-21 11:32:07.000000000 +0000
+++ util/prefFile.c
-@@ -353,9 +353,9 @@ static int stringToPref(const char *stri
+@@ -35,6 +35,7 @@ static const char CVSID[] = "$Id: prefFi
+ #include "fileUtils.h"
+ #include "utils.h"
+
++#include <stdint.h>
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <string.h>
+@@ -353,9 +354,9 @@ static int stringToPref(const char *stri
*(int *)rsrcDescrip->valueAddr = 0;
return False;
case PREF_STRING: