mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
update to scdoc-1.11.4
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
COMMENT = convert scdoc text files to man(7) pages
|
COMMENT = convert scdoc text files to man(7) pages
|
||||||
VERSION = 1.11.3
|
VERSION = 1.11.4
|
||||||
DISTNAME = scdoc-${VERSION}
|
DISTNAME = scdoc-${VERSION}
|
||||||
CATEGORIES = textproc
|
CATEGORIES = textproc
|
||||||
HOMEPAGE = https://git.sr.ht/~sircmpwn/scdoc
|
HOMEPAGE = https://git.sr.ht/~sircmpwn/scdoc
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
SHA256 (scdoc-1.11.3.tar.gz) = TFxhNlQDhOVFWyUPdo58oRsD/boajvwjQe4PERHldhI=
|
SHA256 (scdoc-1.11.4.tar.gz) = 4anCAA+FUSOhpQyPiXBz4O6V/EF4dDHv44ZMLxwucJI=
|
||||||
SIZE (scdoc-1.11.3.tar.gz) = 12768
|
SIZE (scdoc-1.11.4.tar.gz) = 13081
|
||||||
|
|||||||
@@ -1,14 +1,10 @@
|
|||||||
In OpenBSD, we do not compile programs statically when it isn't necessary.
|
|
||||||
Drop -Werror
|
|
||||||
|
|
||||||
Index: Makefile
|
Index: Makefile
|
||||||
--- Makefile.orig
|
--- Makefile.orig
|
||||||
+++ Makefile
|
+++ Makefile
|
||||||
@@ -1,7 +1,6 @@
|
@@ -1,6 +1,6 @@
|
||||||
VERSION=1.11.3
|
VERSION=1.11.4
|
||||||
CFLAGS?=-g
|
CFLAGS?=-g
|
||||||
-MAINFLAGS:=-DVERSION='"$(VERSION)"' -Wall -Wextra -Werror -Wno-unused-parameter
|
-MAINFLAGS:=-DVERSION='"$(VERSION)"' -Wall -Wextra -Werror -Wno-unused-parameter
|
||||||
-LDFLAGS+=-static
|
|
||||||
+MAINFLAGS:=-DVERSION='"$(VERSION)"' -Wall -Wextra -Wno-unused-parameter
|
+MAINFLAGS:=-DVERSION='"$(VERSION)"' -Wall -Wextra -Wno-unused-parameter
|
||||||
INCLUDE+=-Iinclude
|
INCLUDE+=-Iinclude
|
||||||
PREFIX?=/usr/local
|
PREFIX?=/usr/local
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ Index: src/main.c
|
|||||||
#define _XOPEN_SOURCE 600
|
#define _XOPEN_SOURCE 600
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
@@ -755,6 +756,12 @@ int main(int argc, char **argv) {
|
@@ -777,6 +778,12 @@ int main(int argc, char **argv) {
|
||||||
fprintf(stderr, "Usage: scdoc < input.scd > output.roff\n");
|
fprintf(stderr, "Usage: scdoc < input.scd > output.roff\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user