pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/libetm



Module Name:    pkgsrc
Committed By:   vins
Date:           Thu Dec 11 21:28:58 UTC 2025

Modified Files:
        pkgsrc/devel/libetm: Makefile distinfo
        pkgsrc/devel/libetm/patches: patch-aa
Added Files:
        pkgsrc/devel/libetm/patches: patch-etm.c patch-etmtest.c

Log Message:
devel/libetm: fix build


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/devel/libetm/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/libetm/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/libetm/patches/patch-aa
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/libetm/patches/patch-etm.c \
    pkgsrc/devel/libetm/patches/patch-etmtest.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/libetm/Makefile
diff -u pkgsrc/devel/libetm/Makefile:1.20 pkgsrc/devel/libetm/Makefile:1.21
--- pkgsrc/devel/libetm/Makefile:1.20   Sat Dec 23 08:26:05 2023
+++ pkgsrc/devel/libetm/Makefile        Thu Dec 11 21:28:58 2025
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.20 2023/12/23 08:26:05 zafer Exp $
+# $NetBSD: Makefile,v 1.21 2025/12/11 21:28:58 vins Exp $
 #
 
 DISTNAME=              ETM-1.09
 PKGNAME=               libetm-1.09
+PKGREVISION=           1
 CATEGORIES=            devel
 MASTER_SITES=          https://www.aydogan.net/distfiles/devel/
 
@@ -15,7 +16,7 @@ MAKE_JOBS_SAFE=               no
 WRKSRC=                        ${WRKDIR}/etm
 INSTALLATION_DIRS=     include lib
 
-USE_TOOLS+=            groff
+USE_TOOLS+=            nroff
 
 post-patch:
        ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.bak

Index: pkgsrc/devel/libetm/distinfo
diff -u pkgsrc/devel/libetm/distinfo:1.6 pkgsrc/devel/libetm/distinfo:1.7
--- pkgsrc/devel/libetm/distinfo:1.6    Tue Oct 26 10:15:18 2021
+++ pkgsrc/devel/libetm/distinfo        Thu Dec 11 21:28:58 2025
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.6 2021/10/26 10:15:18 nia Exp $
+$NetBSD: distinfo,v 1.7 2025/12/11 21:28:58 vins Exp $
 
 BLAKE2s (ETM-1.09.tar.gz) = a1cefc124e878430dd63d9c53d5ad4d7f9713a560feea75fe0898f96b3802c75
 SHA512 (ETM-1.09.tar.gz) = 447d38f829fb4dc3bcf99e08786a869383e3753d2787769cd22665fea42933d2b5f50981f755d31759e2d33e168661c10fc0e4af1f1f1e4edeeea4526d7b25b6
 Size (ETM-1.09.tar.gz) = 25677 bytes
-SHA1 (patch-aa) = 73f77ee114db93ff1b4ca7c78aaffff2511f82b4
+SHA1 (patch-aa) = 46b6021d54a314a6fea40f4ac52993d3f9ddbda2
+SHA1 (patch-etm.c) = 5d640e9f78ca704c1cce89f1fa480d9a42f67c20
+SHA1 (patch-etmtest.c) = 653b6e3da1d0a9d0e37e5dd6a824f67802a4962d

Index: pkgsrc/devel/libetm/patches/patch-aa
diff -u pkgsrc/devel/libetm/patches/patch-aa:1.2 pkgsrc/devel/libetm/patches/patch-aa:1.3
--- pkgsrc/devel/libetm/patches/patch-aa:1.2    Wed Apr 14 15:08:32 2004
+++ pkgsrc/devel/libetm/patches/patch-aa        Thu Dec 11 21:28:58 2025
@@ -1,7 +1,16 @@
-$NetBSD: patch-aa,v 1.2 2004/04/14 15:08:32 ben Exp $
+$NetBSD: patch-aa,v 1.3 2025/12/11 21:28:58 vins Exp $
 
---- Makefile.orig      1997-04-10 13:15:36.000000000 -0700
+--- Makefile.orig      1997-04-10 20:15:36.000000000 +0000
 +++ Makefile
+@@ -121,7 +121,7 @@ PROJECTMINORRELEASE = 09
+              MSUB = msub
+         MKDIRHIER = mkdirhier
+ 
+-               AR = ar clq
++               AR = ar cq
+                CC = cc
+               CPP = /lib/cpp $(STD_CPP_DEFINES)
+                LD = ld
 @@ -383,7 +383,8 @@ depend:: etm.h
  all:: etm.h.new
  etm.h.new:: etm.h.dist
@@ -31,6 +40,6 @@ $NetBSD: patch-aa,v 1.2 2004/04/14 15:08
 -etm.o: /usr/include/stdarg.h /usr/include/varargs.h etm.internal.h etm.h
 -etm.o: /usr/include/stdlib.h
 -etmtest.o: /usr/include/stdio.h /usr/include/sys/stdsyms.h etm.h
-+etm.o: etm.internal.h etm.h
-+etmtest.o: etm.h
++etm.o: /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h etm.internal.h etm.h
++etmtest.o: /usr/include/stdio.h etm.h
 +

Added files:

Index: pkgsrc/devel/libetm/patches/patch-etm.c
diff -u /dev/null pkgsrc/devel/libetm/patches/patch-etm.c:1.1
--- /dev/null   Thu Dec 11 21:28:58 2025
+++ pkgsrc/devel/libetm/patches/patch-etm.c     Thu Dec 11 21:28:58 2025
@@ -0,0 +1,24 @@
+$NetBSD: patch-etm.c,v 1.1 2025/12/11 21:28:58 vins Exp $
+
+* Add missing includes.
+* Prevent implicit int.
+
+--- etm.c.orig 1997-04-10 20:13:05.000000000 +0000
++++ etm.c
+@@ -48,6 +48,8 @@
+ */
+ 
+ # include     <stdio.h>
++# include       <stdlib.h>
++# include       <string.h>
+ # include     <signal.h>
+ # include     <sys/types.h>
+ # ifdef       STDARGS
+@@ -333,6 +335,7 @@ ETMSigCatcher      *cp;
+ 
+ 
+ ETMProcPtr ETMGetSignalProc (signo)
++int     signo;
+ {
+ ETMSigCatcher *cp;
+ 
Index: pkgsrc/devel/libetm/patches/patch-etmtest.c
diff -u /dev/null pkgsrc/devel/libetm/patches/patch-etmtest.c:1.1
--- /dev/null   Thu Dec 11 21:28:58 2025
+++ pkgsrc/devel/libetm/patches/patch-etmtest.c Thu Dec 11 21:28:58 2025
@@ -0,0 +1,15 @@
+$NetBSD: patch-etmtest.c,v 1.1 2025/12/11 21:28:58 vins Exp $
+
+Add missing includes.
+
+--- etmtest.c.orig     1996-05-19 01:05:35.000000000 +0000
++++ etmtest.c
+@@ -15,6 +15,8 @@
+ # endif
+ 
+ # include     <stdio.h>
++# include     <stdlib.h>
++# include     <string.h>
+ 
+ # include     "etm.h"
+ 



Home | Main Index | Thread Index | Old Index