pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/diffbreaker



Module Name:    pkgsrc
Committed By:   joerg
Date:           Tue Aug 11 18:48:10 UTC 2020

Modified Files:
        pkgsrc/devel/diffbreaker: Makefile
        pkgsrc/devel/diffbreaker/files/diffbreaker: diffbreaker.c

Log Message:
Cast to right type. Mark as using BSD makefiles.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/diffbreaker/Makefile
cvs rdiff -u -r1.8 -r1.9 \
    pkgsrc/devel/diffbreaker/files/diffbreaker/diffbreaker.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/diffbreaker/Makefile
diff -u pkgsrc/devel/diffbreaker/Makefile:1.3 pkgsrc/devel/diffbreaker/Makefile:1.4
--- pkgsrc/devel/diffbreaker/Makefile:1.3       Wed Jun 17 11:45:08 2020
+++ pkgsrc/devel/diffbreaker/Makefile   Tue Aug 11 18:48:10 2020
@@ -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 @@ MAINTAINER=    nat%NetBSD.org@localhost
 COMMENT=       Tool to manuipulate unified diffs using curses
 LICENSE=       2-clause-bsd
 
-NO_CONFIGURE=  yes
-
 WRKSRC=                ${WRKDIR}/diffbreaker
-USE_LANGUAGES= c
-USE_TOOLS=     make
+
+USE_BSD_MAKEFILE=      yes
 
 .include "../../mk/bsd.prefs.mk"
 

Index: pkgsrc/devel/diffbreaker/files/diffbreaker/diffbreaker.c
diff -u pkgsrc/devel/diffbreaker/files/diffbreaker/diffbreaker.c:1.8 pkgsrc/devel/diffbreaker/files/diffbreaker/diffbreaker.c:1.9
--- pkgsrc/devel/diffbreaker/files/diffbreaker/diffbreaker.c:1.8        Thu Jun 18 13:40:17 2020
+++ pkgsrc/devel/diffbreaker/files/diffbreaker/diffbreaker.c    Tue Aug 11 18:48:10 2020
@@ -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 @@ main(int argc, char *argv[])
 
        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 @@ main(int argc, char *argv[])
                        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