update to st 0.9

This commit is contained in:
jung 2022-10-12 18:06:29 +00:00
parent 2a3e346bdb
commit 997321a2a9
3 changed files with 6 additions and 4 deletions

View File

@ -1,6 +1,6 @@
COMMENT= simple X terminal
V= 0.8.5
V= 0.9
DISTNAME= st-${V}
CATEGORIES= x11

View File

@ -1,2 +1,2 @@
SHA256 (st-0.8.5.tar.gz) = 6mgyID7QL/dBgry4raqexFTI+YnnkjLLhZZl4vVEqzc=
SIZE (st-0.8.5.tar.gz) = 47829
SHA256 (st-0.9.tar.gz) = 82NZeZc06ueFvss3QGPwvoM88i+ItPFpzSUbmTJOCOc=
SIZE (st-0.9.tar.gz) = 48171

View File

@ -1,7 +1,7 @@
Index: config.mk
--- config.mk.orig
+++ config.mk
@@ -26,10 +26,10 @@ STCFLAGS = $(INCS) $(STCPPFLAGS) $(CPPFLAGS) $(CFLAGS)
@@ -26,11 +26,11 @@ STCFLAGS = $(INCS) $(STCPPFLAGS) $(CPPFLAGS) $(CFLAGS)
STLDFLAGS = $(LIBS) $(LDFLAGS)
# OpenBSD:
@ -9,10 +9,12 @@ Index: config.mk
-#LIBS = -L$(X11LIB) -lm -lX11 -lutil -lXft \
-# `$(PKG_CONFIG) --libs fontconfig` \
-# `$(PKG_CONFIG) --libs freetype2`
-#MANPREFIX = ${PREFIX}/man
+CPPFLAGS = -DVERSION=\"$(VERSION)\" -D_XOPEN_SOURCE=600 -D_BSD_SOURCE
+LIBS = -L$(X11LIB) -lm -lX11 -lutil -lXft \
+ `$(PKG_CONFIG) --libs fontconfig` \
+ `$(PKG_CONFIG) --libs freetype2`
+MANPREFIX = ${PREFIX}/man
# compiler and linker
# CC = c99