pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors/nedit Include <stdint.h> before using uintptr_t.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7784934a3edf
branches:  trunk
changeset: 632219:7784934a3edf
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Thu Mar 20 12:38:26 2014 +0000

description:
Include <stdint.h> before using uintptr_t.

Pointed out by Iain Morgan on pkgsrc-users as causing a build failure
on Linux.

diffstat:

 editors/nedit/Makefile                      |   5 +++--
 editors/nedit/distinfo                      |   4 ++--
 editors/nedit/patches/patch-util_prefFile.c |  14 +++++++++++---
 3 files changed, 16 insertions(+), 7 deletions(-)

diffs (62 lines):

diff -r 1a798f2227c4 -r 7784934a3edf editors/nedit/Makefile
--- a/editors/nedit/Makefile    Thu Mar 20 00:06:52 2014 +0000
+++ b/editors/nedit/Makefile    Thu Mar 20 12:38:26 2014 +0000
@@ -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 @@
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 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 -r 1a798f2227c4 -r 7784934a3edf editors/nedit/distinfo
--- a/editors/nedit/distinfo    Thu Mar 20 00:06:52 2014 +0000
+++ b/editors/nedit/distinfo    Thu Mar 20 12:38:26 2014 +0000
@@ -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_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 -r 1a798f2227c4 -r 7784934a3edf editors/nedit/patches/patch-util_prefFile.c
--- a/editors/nedit/patches/patch-util_prefFile.c       Thu Mar 20 00:06:52 2014 +0000
+++ b/editors/nedit/patches/patch-util_prefFile.c       Thu Mar 20 12:38:26 2014 +0000
@@ -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:



Home | Main Index | Thread Index | Old Index