Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/diffbreaker Cast to right type. Mark as using BS...
details: https://anonhg.NetBSD.org/pkgsrc/rev/915d79bad084
branches: trunk
changeset: 436913:915d79bad084
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Aug 11 18:48:10 2020 +0000
description:
Cast to right type. Mark as using BSD makefiles.
diffstat:
devel/diffbreaker/Makefile | 8 +++-----
devel/diffbreaker/files/diffbreaker/diffbreaker.c | 6 +++---
2 files changed, 6 insertions(+), 8 deletions(-)
diffs (50 lines):
diff -r d6834ee84234 -r 915d79bad084 devel/diffbreaker/Makefile
--- a/devel/diffbreaker/Makefile Tue Aug 11 18:47:39 2020 +0000
+++ b/devel/diffbreaker/Makefile Tue Aug 11 18:48:10 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2020/06/17 11:45:08 nat Exp $
+# $NetBSD: Makefile,v 1.4 2020/08/11 18:48:10 joerg Exp $
PKGNAME= diffbreaker-0.2
#PKGREVISION= 1
@@ -8,11 +8,9 @@
COMMENT= Tool to manuipulate unified diffs using curses
LICENSE= 2-clause-bsd
-NO_CONFIGURE= yes
+WRKSRC= ${WRKDIR}/diffbreaker
-WRKSRC= ${WRKDIR}/diffbreaker
-USE_LANGUAGES= c
-USE_TOOLS= make
+USE_BSD_MAKEFILE= yes
.include "../../mk/bsd.prefs.mk"
diff -r d6834ee84234 -r 915d79bad084 devel/diffbreaker/files/diffbreaker/diffbreaker.c
--- a/devel/diffbreaker/files/diffbreaker/diffbreaker.c Tue Aug 11 18:47:39 2020 +0000
+++ b/devel/diffbreaker/files/diffbreaker/diffbreaker.c Tue Aug 11 18:48:10 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: diffbreaker.c,v 1.8 2020/06/18 13:40:17 nat Exp $ */
+/* $NetBSD: diffbreaker.c,v 1.9 2020/08/11 18:48:10 joerg Exp $ */
/*-
* Copyright (c) 2018, 2019 Nathanial Sloss <nathanialsloss%yahoo.com.au@localhost>
@@ -631,7 +631,7 @@
setup_screen();
mark_dirty();
- print_buffer(currentLine, (size_t)(displayLines + 1));
+ print_buffer(currentLine, (ssize_t)(displayLines + 1));
COLORTEXT(2);
for (;;) {
@@ -670,7 +670,7 @@
if (totalLines <= 0)
break;
}
- print_buffer(currentLine, (size_t)(displayLines + 1));
+ print_buffer(currentLine, (ssize_t)(displayLines + 1));
}
delwin(mywin);
Home |
Main Index |
Thread Index |
Old Index