notion: unhide SA_RESTART

This commit is contained in:
c0dev0id 2023-02-19 16:38:26 +01:00
parent 53ae8d4ef8
commit bee4011ca4
4 changed files with 44 additions and 3 deletions

View File

@ -4,7 +4,7 @@ GH_ACCOUNT= raboof
GH_PROJECT= notion
GH_COMMIT= 7b0650b35fa96d3d79850adab1cf9411c9b10ef4
#GH_TAGNAME= 4.0.2
DISTNAME= notion-4.0.2p20230207
DISTNAME= notion-4.0.2pl20230207
CATEGORIES= x11

View File

@ -1,2 +1,2 @@
SHA256 (notion-4.0.2p20230207-7b0650b3.tar.gz) = 3JiEei2jK9uwOXGNGix97T8emBPfcX3he80BH1oPmPw=
SIZE (notion-4.0.2p20230207-7b0650b3.tar.gz) = 791843
SHA256 (notion-4.0.2pl20230207-7b0650b3.tar.gz) = 3JiEei2jK9uwOXGNGix97T8emBPfcX3he80BH1oPmPw=
SIZE (notion-4.0.2pl20230207-7b0650b3.tar.gz) = 791843

View File

@ -30,3 +30,12 @@ Index: system-autodetect.mk
# Cygwin needs this. Also when you disable _BSD_SOURCE you may need it.
#DEFINES += -DCF_NO_GETLOADAVG
@@ -199,7 +199,7 @@ POSIX_SOURCE?=-D_POSIX_C_SOURCE=200112L
BSD_SOURCE?=-D_BSD_SOURCE
# Most systems
-XOPEN_SOURCE=-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED
+#XOPEN_SOURCE=-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED
# SunOS, (Irix)
#XOPEN_SOURCE=-D__EXTENSIONS__

View File

@ -0,0 +1,32 @@
Configure for OpenBSD
Index: system-autodetect.mk
--- system-autodetect.mk.orig
+++ system-autodetect.mk
@@ -61,7 +61,7 @@ endif
#PRELOAD_MODULES=1
# Flags to link with libdl.
-DL_LIBS=-ldl
+#DL_LIBS=-ldl
##
@@ -79,7 +79,7 @@ X11_INCLUDES:=$(shell $(PKG_CONFIG) --cflags-only-I x1
# XFree86 libraries up to 4.3.0 have a bug that can cause a segfault.
# The following setting should work around that situation.
-DEFINES += -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND
+#DEFINES += -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND
# Use the Xutf8 routines (XFree86 extension) instead of the Xmb routines
# in an UTF-8 locale. (No, you don't need this in UTF-8 locales, and
@@ -153,7 +153,7 @@ HAS_SYSTEM_ASPRINTF ?= 1
# The following setting is needed with GNU libc for clock_gettime and the
# monotonic clock. Other systems may not need it, or may not provide a
# monotonic clock at all (which Ion can live with, and usually detect).
-LIBS += -lrt
+#LIBS += -lrt
# Cygwin needs this. Also when you disable _BSD_SOURCE you may need it.
#DEFINES += -DCF_NO_GETLOADAVG