svn commit: r308141 - in head/lang/klone: . files
Pietro Cerutti
gahr at FreeBSD.org
Mon Dec 3 12:55:01 UTC 2012
Author: gahr
Date: Mon Dec 3 12:55:00 2012
New Revision: 308141
URL: http://svnweb.freebsd.org/changeset/ports/308141
Log:
- Fix build with clang
- Trim Makefile header
Feature safe: yes
Added:
head/lang/klone/files/patch-klos.c (contents, props changed)
head/lang/klone/files/patch-klregexp.c (contents, props changed)
Modified:
head/lang/klone/Makefile (contents, props changed)
Modified: head/lang/klone/Makefile
==============================================================================
--- head/lang/klone/Makefile Mon Dec 3 12:31:09 2012 (r308140)
+++ head/lang/klone/Makefile Mon Dec 3 12:55:00 2012 (r308141)
@@ -1,9 +1,5 @@
-# Ports collection makefile for: klone
-# Date created: 23 Aug 2001
-# Whom: Kris Kennaway <kris at FreeBSD.org>
-#
+# Created by: Kris Kennaway <kris at FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= klone
PORTVERSION= 2.1.359
Added: head/lang/klone/files/patch-klos.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/klone/files/patch-klos.c Mon Dec 3 12:55:00 2012 (r308141)
@@ -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;
Added: head/lang/klone/files/patch-klregexp.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/klone/files/patch-klregexp.c Mon Dec 3 12:55:00 2012 (r308141)
@@ -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;
More information about the svn-ports-head
mailing list