pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/discount
Module Name: pkgsrc
Committed By: wiz
Date: Sun Jan 4 21:21:01 UTC 2026
Modified Files:
pkgsrc/textproc/discount: Makefile distinfo
pkgsrc/textproc/discount/patches: patch-Makefile.in patch-main.c
Removed Files:
pkgsrc/textproc/discount/patches: patch-generate.c patch-markdown.c
Log Message:
discount: update to 3.0.1.2.
Changes not found.
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/textproc/discount/Makefile \
pkgsrc/textproc/discount/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/textproc/discount/patches/patch-Makefile.in
cvs rdiff -u -r1.4 -r0 pkgsrc/textproc/discount/patches/patch-generate.c
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/discount/patches/patch-main.c
cvs rdiff -u -r1.2 -r0 pkgsrc/textproc/discount/patches/patch-markdown.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/discount/Makefile
diff -u pkgsrc/textproc/discount/Makefile:1.19 pkgsrc/textproc/discount/Makefile:1.20
--- pkgsrc/textproc/discount/Makefile:1.19 Sun Jan 4 20:50:33 2026
+++ pkgsrc/textproc/discount/Makefile Sun Jan 4 21:21:00 2026
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.19 2026/01/04 20:50:33 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2026/01/04 21:21:00 wiz Exp $
-DISTNAME= discount-2.2.7d
-PKGREVISION= 1
+DISTNAME= discount-3.0.1.2
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GITHUB:=Orc/}
GITHUB_TAG= v${PKGVERSION_NOREV}
Index: pkgsrc/textproc/discount/distinfo
diff -u pkgsrc/textproc/discount/distinfo:1.19 pkgsrc/textproc/discount/distinfo:1.20
--- pkgsrc/textproc/discount/distinfo:1.19 Mon Sep 29 20:38:04 2025
+++ pkgsrc/textproc/discount/distinfo Sun Jan 4 21:21:00 2026
@@ -1,9 +1,7 @@
-$NetBSD: distinfo,v 1.19 2025/09/29 20:38:04 mrg Exp $
+$NetBSD: distinfo,v 1.20 2026/01/04 21:21:00 wiz Exp $
-BLAKE2s (discount-2.2.7d.tar.gz) = 57f5465f1b921b1561377c6e4e862ad210f2a100b6527f8909c21f665c434569
-SHA512 (discount-2.2.7d.tar.gz) = d7e652a2687bc31605a9fcb4d95133627778d13e84c0a663ebb848d6b356f4892cc14648540627280590c8d422a9d91b6503bf223be1e7f98c9900d084dfc3b5
-Size (discount-2.2.7d.tar.gz) = 133382 bytes
-SHA1 (patch-Makefile.in) = 7919a26def7f5aceb7fa0570824fd183ac0bb856
-SHA1 (patch-generate.c) = 41a6d7e1dea9c52b24df5853ed0db5b17030b51e
-SHA1 (patch-main.c) = 71e2a3f2c3ccdfbae587d11235d008257e7bfaf5
-SHA1 (patch-markdown.c) = 4bb9971a04c2f7320d62b4c1fb478faac4a5d0c9
+BLAKE2s (discount-3.0.1.2.tar.gz) = 1b3c68f42ca437087dc71773134bfe130c709fb1dd0bc538a26b26daeb0d58e5
+SHA512 (discount-3.0.1.2.tar.gz) = ca10220e4a4f8cd5c3e849873d24a61f8bcbb85f230fe554537d9cdd4e3d4d23c5f5fbc9c917da379000e331c40473038b481f5ac2db29dfa7011a634526688a
+Size (discount-3.0.1.2.tar.gz) = 143419 bytes
+SHA1 (patch-Makefile.in) = 37d308d1c36f99d64d8a6d8b9da312f059a8d423
+SHA1 (patch-main.c) = dd6836bfdca2f031b16f0b3f0541a7c520531469
Index: pkgsrc/textproc/discount/patches/patch-Makefile.in
diff -u pkgsrc/textproc/discount/patches/patch-Makefile.in:1.4 pkgsrc/textproc/discount/patches/patch-Makefile.in:1.5
--- pkgsrc/textproc/discount/patches/patch-Makefile.in:1.4 Tue Nov 15 11:37:56 2022
+++ pkgsrc/textproc/discount/patches/patch-Makefile.in Sun Jan 4 21:21:00 2026
@@ -1,27 +1,29 @@
-$NetBSD: patch-Makefile.in,v 1.4 2022/11/15 11:37:56 schmonz Exp $
+$NetBSD: patch-Makefile.in,v 1.5 2026/01/04 21:21:00 wiz Exp $
Libtoolize for portability across pkgsrc platforms.
---- Makefile.in.orig 2022-03-30 19:34:50.000000000 +0000
+--- Makefile.in.orig 2025-09-08 16:51:18.000000000 +0000
+++ Makefile.in
-@@ -1,3 +1,4 @@
-+LIBTOOL=libtool --tag=CC
+@@ -1,4 +1,5 @@
CC=@CC@
++LIBTOOL=libtool --tag=CC
+ CPPFLAGS=@CPPFLAGS@
CFLAGS=@CFLAGS@
LDFLAGS=@LDFLAGS@
-@@ -7,8 +8,8 @@ INSTALL_PROGRAM=@INSTALL_PROGRAM@
+@@ -8,8 +9,9 @@ INSTALL_PROGRAM=@INSTALL_PROGRAM@
INSTALL_DIR=@INSTALL_DIR@
INSTALL_DATA=@INSTALL_DATA@
--BUILD=$(CC) -I. $(CFLAGS)
+-BUILD=$(CC) -I. $(CPPFLAGS) $(CFLAGS)
-LINK=$(CC) -L. $(LDFLAGS)
-+BUILD=$(LIBTOOL) --mode=compile $(CC) -I. $(CFLAGS)
++BUILD=$(LIBTOOL) --mode=compile $(CC) -I. $(CPPFLAGS) $(CFLAGS)
+LINK=$(LIBTOOL) --mode=link $(CC) -L. $(LDFLAGS)
++
.c.o:
$(BUILD) -c -o $@ $<
-@@ -39,8 +40,10 @@ MAN3PAGES=mkd-callbacks.3 mkd-functions.
- all: $(PGMS) $(SAMPLE_PGMS) $(TESTFRAMEWORK)
+@@ -41,8 +43,10 @@ MAN3PAGES=mkd-callbacks.3 mkd-functions.
+ all: $(PGMS) $(SAMPLE_PGMS) $(TESTFRAMEWORK) all_subdirs
install: $(PGMS) $(DESTDIR)$(BINDIR) $(DESTDIR)$(LIBDIR) $(DESTDIR)$(INCDIR) $(DESTDIR)$(PKGDIR)
- $(INSTALL_PROGRAM) $(PGMS) $(DESTDIR)$(BINDIR)
@@ -33,7 +35,7 @@ Libtoolize for portability across pkgsrc
$(INSTALL_DATA) mkdio.h $(DESTDIR)$(INCDIR)
@MK_PKGCONFIG@$(INSTALL_DATA) $(MKDLIB).pc $(DESTDIR)$(PKGDIR)
-@@ -49,7 +52,7 @@ install.everything: install install.samp
+@@ -51,7 +55,7 @@ install.everything: install install.samp
install.samples: $(SAMPLE_PGMS) install $(DESTDIR)$(BINDIR)
$(INSTALL_DIR) $(DESTDIR)$(MANDIR)/man1
for x in $(SAMPLE_PGMS); do \
@@ -42,7 +44,7 @@ Libtoolize for portability across pkgsrc
$(INSTALL_DATA) $$x.1 $(DESTDIR)$(MANDIR)/man1/$(SAMPLE_PFX)$$x.1; \
done
-@@ -100,19 +103,19 @@ mktags: mktags.o
+@@ -102,19 +106,19 @@ mktags: mktags.o
# example programs
@THEME@theme: theme.o $(COMMON) $(MKDLIB) mkdio.h
@@ -66,18 +68,19 @@ Libtoolize for portability across pkgsrc
pgm_options.o: pgm_options.c mkdio.h config.h
$(BUILD) -c pgm_options.c
-@@ -126,8 +129,12 @@ gethopt.o: gethopt.c
+@@ -128,8 +132,13 @@ gethopt.o: gethopt.c
main.o: main.c mkdio.h config.h
$(BUILD) -c main.c
--$(MKDLIB): $(OBJS)
+-$(MKDLIB): $(OBJS) .libmarkdown
- ./librarian.sh make $(MKDLIB) VERSION $(OBJS)
+libtool-version-info: VERSION
+ awk -F. '{ printf "%d:%d:0\n", $$1 - 1, $$2 }' < VERSION > libtool-version-info
+
+$(MKDLIB): $(MKDLIB).la
-+$(MKDLIB).la: $(OBJS) libtool-version-info
++$(MKDLIB).la: $(OBJS) libtool-version-info .libmarkdown
+ $(LINK) -o $(MKDLIB).la $(OBJS:S/.o/.lo/g) -version-info `cat libtool-version-info` -rpath $(LIBDIR)
++
- verify: echo tools/checkbits.sh
- @./echo -n "headers ... "; tools/checkbits.sh && echo "GOOD"
+ .libmarkdown: $(OBJS)
+ touch $@
Index: pkgsrc/textproc/discount/patches/patch-main.c
diff -u pkgsrc/textproc/discount/patches/patch-main.c:1.1 pkgsrc/textproc/discount/patches/patch-main.c:1.2
--- pkgsrc/textproc/discount/patches/patch-main.c:1.1 Mon Sep 29 20:38:04 2025
+++ pkgsrc/textproc/discount/patches/patch-main.c Sun Jan 4 21:21:00 2026
@@ -1,17 +1,17 @@
-$NetBSD: patch-main.c,v 1.1 2025/09/29 20:38:04 mrg Exp $
+$NetBSD: patch-main.c,v 1.2 2026/01/04 21:21:00 wiz Exp $
Make function prototypes match for GCC 14.
---- main.c.orig 2023-08-23 01:09:27.000000000 -0700
-+++ main.c 2025-09-25 12:07:41.131761165 -0700
-@@ -100,8 +100,9 @@
- }
+--- main.c.orig 2025-09-08 16:51:18.000000000 +0000
++++ main.c
+@@ -107,8 +107,9 @@ char *external_formatter = 0;
+ #define SENDER 1
char *
-external_codefmt(char *src, int len, char *lang)
+external_codefmt(const char *src, const int len, void *arg3)
{
+ char *lang = arg3;
- int extra = 0;
- int i, x;
+ int child_status;
+ int size, bufsize, curr;
char *res;
Home |
Main Index |
Thread Index |
Old Index