-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
100 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
slang |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
commit 3a7ccd8492cdde449d22a828cd3b3f89eca0c5ae | ||
Author: Daniel Kolesa <daniel@octaforge.org> | ||
Date: Sun Jan 23 05:38:42 2022 +0100 | ||
|
||
disable failing tests | ||
|
||
diff --git a/src/test/posixio.sl b/src/test/posixio.sl | ||
index 4da5607..d3310bc 100644 | ||
--- a/src/test/posixio.sl | ||
+++ b/src/test/posixio.sl | ||
@@ -80,20 +80,6 @@ private define test_misc () | ||
{ | ||
variable s, fd; | ||
fd = fileno (stderr); | ||
-#ifexists ttyname | ||
- if (isatty (fd)) | ||
- { | ||
- s = ttyname (); | ||
- if ((s != NULL) && (NULL == stat_file (s))) | ||
- failed ("Unable to stat tty %S", s); | ||
- } | ||
- if (isatty (0)) | ||
- { | ||
- % Given no args, ttyname will use fileno(stdin) | ||
- if (NULL == ttyname ()) | ||
- failed ("ttyname failed with no arguments"); | ||
- } | ||
-#endif | ||
|
||
variable fd1 = dup_fd (fd); | ||
if (typeof (fd1) != FD_Type) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
commit 9fcf393adea60952768c9498cf4d4013918b9911 | ||
Author: Daniel Kolesa <daniel@octaforge.org> | ||
Date: Sun Jan 23 05:30:32 2022 +0100 | ||
|
||
disable rpath | ||
|
||
diff --git a/modules/Makefile.in b/modules/Makefile.in | ||
index f82f0ed..9b0bf44 100644 | ||
--- a/modules/Makefile.in | ||
+++ b/modules/Makefile.in | ||
@@ -87,7 +87,6 @@ DEST_SLSH_DIR = $(DESTDIR)$(SLSH_DIR) | ||
DEST_CMAPSDIR = $(DESTDIR)$(CMAPS_DIR) | ||
DEST_HELPDIR = $(DESTDIR)$(HELP_DIR) | ||
# --------------------------------------------------------------------------- | ||
-RPATH = @RPATH@ | ||
|
||
LIBS = $(LDFLAGS) $(RPATH) $(SLANG_LIB) $(DL_LIB) @M_LIB@ | ||
INCS = $(SLANG_SRCINC) | ||
diff --git a/slsh/Makefile.in b/slsh/Makefile.in | ||
index cba9d81..93d49cf 100644 | ||
--- a/slsh/Makefile.in | ||
+++ b/slsh/Makefile.in | ||
@@ -23,7 +23,6 @@ SLANG_OBJLIB = -L@OBJDIR@# for statically linked | ||
#--------------------------------------------------------------------------- | ||
DYNAMIC_LIBS = @TERMCAP@ @DYNAMIC_LINK_LIB@ @LIBS@ @M_LIB@ | ||
STATIC_LIBS = @TERMCAP@ @LIBS@ @M_LIB@ | ||
-RPATH = @RPATH@ | ||
#---------------------------------------------------------------------------- | ||
INSTALL = @INSTALL@ | ||
INSTALL_DATA = @INSTALL_DATA@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
pkgname = "slang" | ||
pkgver = "2.3.2" | ||
pkgrel = 0 | ||
build_style = "gnu_configure" | ||
make_cmd = "gmake" | ||
make_dir = "." | ||
hostmakedepends = ["gmake", "pkgconf", "ncurses-devel"] | ||
makedepends = [ | ||
"ncurses-devel", "zlib-devel", "pcre-devel", | ||
"libpng-devel", "oniguruma-devel" | ||
] | ||
pkgdesc = "S-Lang programming library" | ||
maintainer = "q66 <q66@chimera-linux.org>" | ||
license = "GPL-2.0-or-later" | ||
url = "https://www.jedsoft.org/slang" | ||
source = f"https://www.jedsoft.org/releases/{pkgname}/{pkgname}-{pkgver}.tar.bz2" | ||
sha256 = "fc9e3b0fc4f67c3c1f6d43c90c16a5c42d117b8e28457c5b46831b8b5d3ae31a" | ||
# racey | ||
options = ["!parallel"] | ||
|
||
def init_configure(self): | ||
sroot = str(self.profile().sysroot / "usr") | ||
self.configure_args += [ | ||
f"--with-z={sroot}", f"--with-pcre={sroot}", | ||
f"--with-png={sroot}", f"--with-onig={sroot}" | ||
] | ||
# force it to use CFLAGS too during linking | ||
self.configure_env = { | ||
"LDFLAGS": self.get_cflags(shell = True) + " " + \ | ||
self.get_ldflags(shell = True) | ||
} | ||
|
||
def post_install(self): | ||
self.install_license("COPYING") | ||
|
||
@subpackage("slang-devel") | ||
def _devel(self): | ||
return self.default_devel() |