forked from semios/semios-packages
Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ff75acbb20 | ||
|
|
5b4036abd2 | ||
|
|
daa4312ece | ||
|
|
1a2fa464c6 |
@@ -0,0 +1,36 @@
|
|||||||
|
--- a/lib/fnmatch.c
|
||||||
|
+++ b/lib/fnmatch.c
|
||||||
|
@@ -120,9 +120,6 @@
|
||||||
|
/* Avoid depending on library functions or files
|
||||||
|
whose names are inconsistent. */
|
||||||
|
|
||||||
|
-# if !defined _LIBC && !defined getenv
|
||||||
|
-extern char *getenv ();
|
||||||
|
-# endif
|
||||||
|
|
||||||
|
# ifndef errno
|
||||||
|
extern int errno;
|
||||||
|
|
||||||
|
--- a/src/getopt.c
|
||||||
|
+++ b/src/getopt.c
|
||||||
|
@@ -202,7 +202,7 @@ static char *posixly_correct;
|
||||||
|
whose names are inconsistent. */
|
||||||
|
|
||||||
|
#ifndef getenv
|
||||||
|
-extern char *getenv ();
|
||||||
|
+extern char *getenv (const char *);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
static char *
|
||||||
|
|
||||||
|
--- a/src/getopt.h
|
||||||
|
+++ b/src/getopt.h
|
||||||
|
@@ -102,7 +102,7 @@ struct option
|
||||||
|
errors, only prototype getopt for the GNU C library. */
|
||||||
|
extern int getopt (int argc, char *const *argv, const char *shortopts);
|
||||||
|
#else /* not __GNU_LIBRARY__ */
|
||||||
|
-extern int getopt ();
|
||||||
|
+extern int getopt (int, char * const*, const char *);
|
||||||
|
#endif /* __GNU_LIBRARY__ */
|
||||||
|
extern int getopt_long (int argc, char *const *argv, const char *shortopts,
|
||||||
|
const struct option *longopts, int *longind);
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
import lib.cpp as cpp
|
||||||
|
from lib.make import *
|
||||||
|
|
||||||
|
version("4.4.1")
|
||||||
|
source_url("https://ftp.gnu.org/gnu/make/make-4.4.1.tar.gz")
|
||||||
|
|
||||||
|
|
||||||
|
def build():
|
||||||
|
cpp.configure(["--prefix=/"])
|
||||||
|
cpp.make()
|
||||||
|
cpp.make_install()
|
||||||
|
|
||||||
|
|
||||||
|
on_build(build)
|
||||||
|
|
||||||
|
package("gnu-make")
|
||||||
|
cpp.use_auto_pack(["bin"])
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
import os
|
||||||
|
|
||||||
|
from lib.make import *
|
||||||
|
|
||||||
|
version("1.59.2")
|
||||||
|
source_git("https://github.com/mirabilos/mksh-cvs2git.git", "mksh-R59c")
|
||||||
|
|
||||||
|
|
||||||
|
def build():
|
||||||
|
os.system("sh ./Build.sh")
|
||||||
|
|
||||||
|
|
||||||
|
on_build(build)
|
||||||
|
|
||||||
|
|
||||||
|
def pack_mksh(composer):
|
||||||
|
composer.makedir("bin")
|
||||||
|
composer.addfile("mksh", "bin/mksh")
|
||||||
|
|
||||||
|
|
||||||
|
package("mksh")
|
||||||
|
on_pack(pack_mksh)
|
||||||
Reference in New Issue
Block a user