- Fix build with clang
- Trim Makefile header Feature safe: yes
This commit is contained in:
parent
b6a24f6fff
commit
1096f70014
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=308141
@ -1,9 +1,5 @@
|
||||
# Ports collection makefile for: klone
|
||||
# Date created: 23 Aug 2001
|
||||
# Whom: Kris Kennaway <kris@FreeBSD.org>
|
||||
#
|
||||
# Created by: Kris Kennaway <kris@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= klone
|
||||
PORTVERSION= 2.1.359
|
||||
|
31
lang/klone/files/patch-klos.c
Normal file
31
lang/klone/files/patch-klos.c
Normal file
@ -0,0 +1,31 @@
|
||||
--- klos.c.orig 2012-12-03 13:51:56.000000000 +0100
|
||||
+++ klos.c 2012-12-03 13:53:25.000000000 +0100
|
||||
@@ -83,9 +83,12 @@
|
||||
#define KlWaitPid(statusp) wait3(statusp, WNOHANG, 0)
|
||||
#endif
|
||||
|
||||
+
|
||||
DECLARE_strchr;
|
||||
|
||||
KlRSignal KlChildDeathHandler();
|
||||
+void KlSignalHandlerExecuteAux(int, KlO);
|
||||
+void KlProcessIdDies(int, int);
|
||||
|
||||
/* On SYSV signals where it is possible (AIX), use an emulation of the BSD
|
||||
* signal call via sigaction.
|
||||
@@ -777,6 +780,7 @@
|
||||
|
||||
/* a process is signalled to be dead */
|
||||
|
||||
+void
|
||||
KlProcessIdDies(pid, status)
|
||||
int pid;
|
||||
int status;
|
||||
@@ -1591,6 +1595,7 @@
|
||||
#endif
|
||||
}
|
||||
|
||||
+void
|
||||
KlSignalHandlerExecuteAux(sig, handler)
|
||||
int sig;
|
||||
KlO handler;
|
19
lang/klone/files/patch-klregexp.c
Normal file
19
lang/klone/files/patch-klregexp.c
Normal file
@ -0,0 +1,19 @@
|
||||
--- klregexp.c.orig 2012-12-03 13:50:10.000000000 +0100
|
||||
+++ klregexp.c 2012-12-03 13:51:40.000000000 +0100
|
||||
@@ -208,6 +208,8 @@
|
||||
STATIC int strcspn();
|
||||
#endif
|
||||
|
||||
+void Klparnum_add(int, int, char *);
|
||||
+
|
||||
/*
|
||||
- regcomp - compile a regular expression into internal code
|
||||
*
|
||||
@@ -1302,6 +1304,7 @@
|
||||
* we maintain a p-list of parenleven, offset in program
|
||||
*/
|
||||
|
||||
+void
|
||||
Klparnum_add(type, parno, ptr)
|
||||
int type; /* OPEN or CLOSE */
|
||||
int parno;
|
Loading…
Reference in New Issue
Block a user