pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/spiff



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Jul  9 15:14:41 UTC 2023

Modified Files:
        pkgsrc/devel/spiff: Makefile distinfo
        pkgsrc/devel/spiff/patches: patch-aa
Added Files:
        pkgsrc/devel/spiff/patches: patch-output.c

Log Message:
spiff: Honour LDFLAGS. Should help the build on certain platforms.

While here, reduce amount of implicit-function-declaring.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/spiff/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/spiff/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/spiff/patches/patch-aa
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/spiff/patches/patch-output.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/spiff/Makefile
diff -u pkgsrc/devel/spiff/Makefile:1.8 pkgsrc/devel/spiff/Makefile:1.9
--- pkgsrc/devel/spiff/Makefile:1.8     Sun Jan 26 17:31:04 2020
+++ pkgsrc/devel/spiff/Makefile Sun Jul  9 15:14:41 2023
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2020/01/26 17:31:04 rillig Exp $
+# $NetBSD: Makefile,v 1.9 2023/07/09 15:14:41 nia Exp $
 #
 
 DISTNAME=      spiff-1.0
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    devel
 MASTER_SITES=  http://www.darwinsys.com/freeware/
 

Index: pkgsrc/devel/spiff/distinfo
diff -u pkgsrc/devel/spiff/distinfo:1.11 pkgsrc/devel/spiff/distinfo:1.12
--- pkgsrc/devel/spiff/distinfo:1.11    Tue Oct 26 10:19:57 2021
+++ pkgsrc/devel/spiff/distinfo Sun Jul  9 15:14:41 2023
@@ -1,12 +1,13 @@
-$NetBSD: distinfo,v 1.11 2021/10/26 10:19:57 nia Exp $
+$NetBSD: distinfo,v 1.12 2023/07/09 15:14:41 nia Exp $
 
 BLAKE2s (spiff-1.0.tar.gz) = 1eefbd7dacba51cf114bcb279e2efff622e3eb92fe899c1690fb7aedbbb1d13a
 SHA512 (spiff-1.0.tar.gz) = a93ff7a22644e67d548f31a3692d72242ead9a4b1ca69875b9cde748ea39a2c8d6a24eaac680fd02337290b87a10d0363111ef14ffca8eb02e36c83e0409b277
 Size (spiff-1.0.tar.gz) = 48291 bytes
-SHA1 (patch-aa) = 0a32ca2e2fd838cc21eca476111fe81a3f545181
+SHA1 (patch-aa) = 426ec126bf8196f387fadb81fe8b3284751f9566
 SHA1 (patch-ab) = 265a62ded94e73b42f8f46180613ff6e5de90399
 SHA1 (patch-ac) = d88280626b3d1621377d38037a52e79e6e35bb1a
 SHA1 (patch-ad) = 86d90bf42e1735f20fc8538522638f1b5af92d60
 SHA1 (patch-ae) = a4d5f04fa69e775f3e39e60c93b764d0a6c0af7c
 SHA1 (patch-af) = 5d922bcafe13e5f24347e78b9e1cd0859d295631
 SHA1 (patch-line.c) = 3eb93ebdb9918799b7f532019f4dcb65dc4fa75c
+SHA1 (patch-output.c) = ab59db490ca01e6983eebe830b7881a81bdd3590

Index: pkgsrc/devel/spiff/patches/patch-aa
diff -u pkgsrc/devel/spiff/patches/patch-aa:1.3 pkgsrc/devel/spiff/patches/patch-aa:1.4
--- pkgsrc/devel/spiff/patches/patch-aa:1.3     Mon Jun 18 03:39:00 2012
+++ pkgsrc/devel/spiff/patches/patch-aa Sun Jul  9 15:14:41 2023
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.3 2012/06/18 03:39:00 dholland Exp $
+$NetBSD: patch-aa,v 1.4 2023/07/09 15:14:41 nia Exp $
 
 - configure for pkgsrc
 - honor PKGMANDIR
@@ -51,7 +51,7 @@ $NetBSD: patch-aa,v 1.3 2012/06/18 03:39
  
  #
  #     3) SELECTION OF WINDOW MANAGER AVAILABILITY
-@@ -80,7 +80,7 @@ MANPAGE=spiff.1
+@@ -80,12 +80,12 @@ MANPAGE=spiff.1
  # disable this line iff you like being honked at.
  DEFS = -DNOCHATTER
  
@@ -60,6 +60,12 @@ $NetBSD: patch-aa,v 1.3 2012/06/18 03:39
  
  default: spiff
  
+ spiff: $(OBJ)
+-      $(CC) $(CFLAGS) -o spiff $(OBJ) $(VISLIB) -l$(TLIB)
++      $(CC) $(LDFLAGS) -o spiff $(OBJ) $(VISLIB) -l$(TLIB)
+ 
+ spiff.o: spiff.c misc.h line.h token.h tol.h command.h edit.h parse.h compare.h flagdefs.h exact.h miller.h visual.h
+ 
 @@ -145,5 +145,5 @@ cmd:
        -$(CMD) $(CFILES) $(HFILES) $(OTHER) $(MANPAGE)
  install:

Added files:

Index: pkgsrc/devel/spiff/patches/patch-output.c
diff -u /dev/null pkgsrc/devel/spiff/patches/patch-output.c:1.1
--- /dev/null   Sun Jul  9 15:14:41 2023
+++ pkgsrc/devel/spiff/patches/patch-output.c   Sun Jul  9 15:14:41 2023
@@ -0,0 +1,22 @@
+$NetBSD: patch-output.c,v 1.1 2023/07/09 15:14:41 nia Exp $
+
+Reduce implicit function declarations.
+
+--- output.c.orig      1990-02-05 20:17:18.000000000 +0000
++++ output.c
+@@ -12,6 +12,7 @@ static char rcsid[]= "$Header: output.c,
+ #endif
+ 
+ #include <stdio.h>
++#include <unistd.h>
+ 
+ #ifdef M_TERMINFO
+ #include <curses.h>
+@@ -22,6 +23,7 @@ static char rcsid[]= "$Header: output.c,
+ #ifdef XENIX
+ #include <tcap.h>
+ #endif
++#include <termcap.h>
+ #endif
+ 
+ #include "misc.h"



Home | Main Index | Thread Index | Old Index