pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/libts



Module Name:    pkgsrc
Committed By:   vins
Date:           Thu Dec 11 20:57:34 UTC 2025

Modified Files:
        pkgsrc/devel/libts: Makefile distinfo
        pkgsrc/devel/libts/patches: patch-aa
Added Files:
        pkgsrc/devel/libts/patches: patch-tstest.c

Log Message:
devel/libts: fix build


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/devel/libts/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/libts/distinfo
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/devel/libts/patches/patch-aa
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/libts/patches/patch-tstest.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/libts/Makefile
diff -u pkgsrc/devel/libts/Makefile:1.20 pkgsrc/devel/libts/Makefile:1.21
--- pkgsrc/devel/libts/Makefile:1.20    Sat Dec 23 08:23:31 2023
+++ pkgsrc/devel/libts/Makefile Thu Dec 11 20:57:34 2025
@@ -1,20 +1,23 @@
-# $NetBSD: Makefile,v 1.20 2023/12/23 08:23:31 zafer Exp $
+# $NetBSD: Makefile,v 1.21 2025/12/11 20:57:34 vins Exp $
 #
 
 DISTNAME=              TS-1.08
 PKGNAME=               libts-1.08
+PKGREVISION=           1
 CATEGORIES=            devel
 MASTER_SITES=          https://www.aydogan.net/distfiles/devel/
 
 MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=              ${MASTER_SITES}
+HOMEPAGE=              https://www.aydogan.net/distfiles/devel/
 COMMENT=               Library of simple token-scanning routines
 
 MAKE_JOBS_SAFE=                no
 
 WRKSRC=                        ${WRKDIR}/tokenscan
 INSTALLATION_DIRS=     include lib
-USE_TOOLS+=            groff
+USE_TOOLS+=            nroff
+
+INSTALLATION_DIRS=     include lib share/doc/libts
 
 post-patch:
        ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.bak
@@ -24,7 +27,6 @@ post-patch:
 do-install:
        ${INSTALL_DATA} ${WRKSRC}/libtokenscan.a ${DESTDIR}${PREFIX}/lib
        ${INSTALL_DATA} ${WRKSRC}/tokenscan.h ${DESTDIR}${PREFIX}/include
-       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/libts
        nroff -ms ${WRKSRC}/tokenscan.ms \
                >${DESTDIR}${PREFIX}/share/doc/libts/tokenscan.txt
 

Index: pkgsrc/devel/libts/distinfo
diff -u pkgsrc/devel/libts/distinfo:1.5 pkgsrc/devel/libts/distinfo:1.6
--- pkgsrc/devel/libts/distinfo:1.5     Tue Oct 26 10:15:29 2021
+++ pkgsrc/devel/libts/distinfo Thu Dec 11 20:57:34 2025
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 10:15:29 nia Exp $
+$NetBSD: distinfo,v 1.6 2025/12/11 20:57:34 vins Exp $
 
 BLAKE2s (TS-1.08.tar.gz) = f131e1174b44cb28ec5618f7bf14bd0cf2c7fe0babd40773a511d982eeb85a3b
 SHA512 (TS-1.08.tar.gz) = 6724aebb85ac632659769f5d237d6572771f4d1d77219872f9c63c216a7c9551c78d997358194821fba034a618ebbdda5162e488ab67117fb1fb92f6fa7f6f7a
 Size (TS-1.08.tar.gz) = 12623 bytes
-SHA1 (patch-aa) = 93523690ee520efaba0946aeeaaaeeb318efacad
+SHA1 (patch-aa) = f4471947cc0a4fa82526943aef336b8de4406176
+SHA1 (patch-tstest.c) = b4d198d1b8a437d281c269f1b6fe40ae7bf9af4f

Index: pkgsrc/devel/libts/patches/patch-aa
diff -u pkgsrc/devel/libts/patches/patch-aa:1.1.1.1 pkgsrc/devel/libts/patches/patch-aa:1.2
--- pkgsrc/devel/libts/patches/patch-aa:1.1.1.1 Fri Apr 27 11:47:12 2001
+++ pkgsrc/devel/libts/patches/patch-aa Thu Dec 11 20:57:34 2025
@@ -1,8 +1,20 @@
-$NetBSD: patch-aa,v 1.1.1.1 2001/04/27 11:47:12 agc Exp $
+$NetBSD: patch-aa,v 1.2 2025/12/11 20:57:34 vins Exp $
 
---- Makefile.orig      Sun Apr  8 19:03:45 2001
-+++ Makefile   Sun Apr  8 19:03:59 2001
-@@ -402,5 +402,5 @@
+* The "l" modifier is unsupported as of binutils 2.36.
+* Remove non standard header.
+
+--- Makefile.orig      1996-07-10 04:00:17.000000000 +0000
++++ Makefile
+@@ -115,7 +115,7 @@ PROJECTMINORRELEASE = 08
+              MSUB = msub
+         MKDIRHIER = mkdirhier
+ 
+-               AR = ar clq
++               AR = ar cq
+                CC = cc
+               CPP = /lib/cpp $(STD_CPP_DEFINES)
+                LD = ld
+@@ -402,5 +402,5 @@ Makefiles::
  
  # DO NOT DELETE
  

Added files:

Index: pkgsrc/devel/libts/patches/patch-tstest.c
diff -u /dev/null pkgsrc/devel/libts/patches/patch-tstest.c:1.1
--- /dev/null   Thu Dec 11 20:57:34 2025
+++ pkgsrc/devel/libts/patches/patch-tstest.c   Thu Dec 11 20:57:34 2025
@@ -0,0 +1,15 @@
+$NetBSD: patch-tstest.c,v 1.1 2025/12/11 20:57:34 vins Exp $
+
+Add missing includes.
+
+--- tstest.c.orig      2025-12-11 20:46:35.127892267 +0000
++++ tstest.c
+@@ -9,6 +9,8 @@
+ */
+ 
+ # include     <stdio.h>
++# include     <stdlib.h>
++# include     <string.h>
+ 
+ # include     "tokenscan.h"
+ 



Home | Main Index | Thread Index | Old Index