diff options
Diffstat (limited to 'devel/libbobcat/files')
23 files changed, 242 insertions, 71 deletions
diff --git a/devel/libbobcat/files/patch-arg-arg b/devel/libbobcat/files/patch-arg-arg new file mode 100644 index 000000000000..2c3da13c9721 --- /dev/null +++ b/devel/libbobcat/files/patch-arg-arg @@ -0,0 +1,12 @@ +--- arg/arg.orig 2013-11-13 11:44:52.000000000 +0100 ++++ arg/arg 2013-11-27 16:37:01.000000000 +0100 +@@ -5,6 +5,9 @@ + Singleton Class built around getopt() and getopt_long() (3) + */ + ++#ifdef __FreeBSD__ ++#include <errno.h> ++#endif + + #include <string> + #include <vector> diff --git a/devel/libbobcat/files/patch-datetime-datetime b/devel/libbobcat/files/patch-datetime-datetime new file mode 100644 index 000000000000..2d744bc876f1 --- /dev/null +++ b/devel/libbobcat/files/patch-datetime-datetime @@ -0,0 +1,13 @@ +--- datetime/datetime.orig 2013-11-13 11:44:52.000000000 +0100 ++++ datetime/datetime 2013-11-27 16:22:41.000000000 +0100 +@@ -1,6 +1,10 @@ + #ifndef INCLUDED_BOBCAT_DATETIME_ + #define INCLUDED_BOBCAT_DATETIME_ + ++#ifdef __FreeBSD__ ++#include <errno.h> ++#endif ++ + #include <ctime> + #include <iosfwd> + diff --git a/devel/libbobcat/files/patch-diffiehellman-diffiehellman b/devel/libbobcat/files/patch-diffiehellman-diffiehellman new file mode 100644 index 000000000000..713b90ac45f3 --- /dev/null +++ b/devel/libbobcat/files/patch-diffiehellman-diffiehellman @@ -0,0 +1,13 @@ +--- diffiehellman/diffiehellman.orig 2013-10-02 12:36:00.000000000 +0200 ++++ diffiehellman/diffiehellman 2013-11-27 14:08:18.000000000 +0100 +@@ -1,6 +1,10 @@ + #ifndef INCLUDED_BOBCAT_DIFFIEHELLMAN_ + #define INCLUDED_BOBCAT_DIFFIEHELLMAN_ + ++#ifdef __FreeBSD__ ++#include <sys/types.h> ++#endif ++ + #include <memory> + #include <iosfwd> + diff --git a/devel/libbobcat/files/patch-exception-errnodescr.cc b/devel/libbobcat/files/patch-exception-errnodescr.cc new file mode 100644 index 000000000000..f60dcf563f14 --- /dev/null +++ b/devel/libbobcat/files/patch-exception-errnodescr.cc @@ -0,0 +1,20 @@ +--- exception/errnodescr.cc.orig 2013-10-02 12:36:00.000000000 +0200 ++++ exception/errnodescr.cc 2013-11-27 15:02:26.000000000 +0100 +@@ -7,16 +7,12 @@ + { + if (errno != 0) + { +- char *buffer = new char[Exception::STRERROR_BUFSIZE]; +- +- if (char *cp = strerror_r(errno, buffer, Exception::STRERROR_BUFSIZE)) ++ if (char *cp = strerror(errno)) + out << cp; + else + { + out << "internal error: strerror_r failed with errno = " << errno; + } +- +- delete[] buffer; + } + + return out; diff --git a/devel/libbobcat/files/patch-glob-glob1.cc b/devel/libbobcat/files/patch-glob-glob1.cc deleted file mode 100644 index 6a05f1f1b35a..000000000000 --- a/devel/libbobcat/files/patch-glob-glob1.cc +++ /dev/null @@ -1,12 +0,0 @@ ---- glob/glob1.cc.orig 2012-10-27 10:28:31.000000000 +0200 -+++ glob/glob1.cc 2012-12-02 01:08:36.000000000 +0100 -@@ -1,6 +1,6 @@ - #include "glob.ih" - - Glob::Glob(string const &pattern, int flags, Dots dots) --: -- Glob(ANY, pattern, flags, dots) --{} -+{ -+ Glob(ANY, pattern, flags, dots); -+} diff --git a/devel/libbobcat/files/patch-hostname-hostname b/devel/libbobcat/files/patch-hostname-hostname new file mode 100644 index 000000000000..ba7ff8aac328 --- /dev/null +++ b/devel/libbobcat/files/patch-hostname-hostname @@ -0,0 +1,13 @@ +--- hostname/hostname.orig 2013-11-13 11:45:02.000000000 +0100 ++++ hostname/hostname 2013-11-27 16:50:05.000000000 +0100 +@@ -1,6 +1,10 @@ + #ifndef INCLUDED_BOBCAT_HOSTNAME_ + #define INCLUDED_BOBCAT_HOSTNAME_ + ++#ifdef __FreeBSD__ ++#include <sys/socket.h> ++#endif ++ + #include <bobcat/hostent> + + namespace FBB diff --git a/devel/libbobcat/files/patch-hostname-hostname.ih b/devel/libbobcat/files/patch-hostname-hostname.ih deleted file mode 100644 index 05e9a911bf27..000000000000 --- a/devel/libbobcat/files/patch-hostname-hostname.ih +++ /dev/null @@ -1,12 +0,0 @@ ---- hostname/hostname.ih.orig 2007-02-13 13:29:39.000000000 +0100 -+++ hostname/hostname.ih 2009-03-10 05:44:08.000000000 +0100 -@@ -3,6 +3,9 @@ - #include <bobcat/inetaddress> - #include <bobcat/gethostent> - #include <netdb.h> -+#ifdef __FreeBSD__ -+#include <sys/socket.h> -+#endif - - using namespace std; - using namespace FBB; diff --git a/devel/libbobcat/files/patch-icmake-man b/devel/libbobcat/files/patch-icmake-man index d2e94ad29455..47f2a86e00ed 100644 --- a/devel/libbobcat/files/patch-icmake-man +++ b/devel/libbobcat/files/patch-icmake-man @@ -1,5 +1,5 @@ ---- icmake/man.orig 2011-05-25 13:00:10.000000000 +0200 -+++ icmake/man 2011-11-14 20:36:27.000000000 +0100 +--- icmake/man.orig 2013-11-13 11:44:52.000000000 +0100 ++++ icmake/man 2013-11-27 12:47:25.000000000 +0100 @@ -9,7 +9,10 @@ special(0, 0); @@ -14,22 +14,23 @@ @@ -35,8 +38,10 @@ - run("yodl2man --no-warnings -r 15000 -o ../../tmp/man/man3/" + - base + ".3bobcat " + yodl); + run("yodl2man --no-warnings -r 3 -o ../../tmp/man/man3/" + + base + ".3" LIBRARY " " + yodl); +#ifdef MANHTML - run("yodl2html --no-warnings -r 15000 -o ../../tmp/manhtml/" + - base + ".3.html " + yodl); + run("yodl2html --no-warnings -r 3 -o ../../tmp/manhtml/" + + base + ".3.html " + yodl); +#endif } } -@@ -44,8 +49,10 @@ +@@ -44,9 +49,11 @@ { - run("yodl2man --no-warnings -r 15000 -o ../../tmp/man/man7/bobcat.7 " - "bobcat.yo"); + run("yodl2man --no-warnings -r 3 -o ../../tmp/man/man7/" + LIBRARY ".7 " LIBRARY ".yo"); +#ifdef MANHTML - run("yodl2html --no-warnings -r 15000 " - "-o ../../tmp/manhtml/bobcat.7.html bobcat.yo"); + run("yodl2html --no-warnings -r 3 " + "-o ../../tmp/manhtml/" LIBRARY ".7.html " + LIBRARY ".yo"); +#endif } diff --git a/devel/libbobcat/files/patch-ifilterstreambuf-ifilterstreambuf b/devel/libbobcat/files/patch-ifilterstreambuf-ifilterstreambuf new file mode 100644 index 000000000000..666a11a95a25 --- /dev/null +++ b/devel/libbobcat/files/patch-ifilterstreambuf-ifilterstreambuf @@ -0,0 +1,13 @@ +--- ifilterstreambuf/ifilterstreambuf.orig 2013-11-13 11:44:52.000000000 +0100 ++++ ifilterstreambuf/ifilterstreambuf 2013-11-27 14:52:22.000000000 +0100 +@@ -1,6 +1,10 @@ + #ifndef INCLUDED_BOBCAT_IFILTERSTREAMBUF_ + #define INCLUDED_BOBCAT_IFILTERSTREAMBUF_ + ++#ifdef __FreeBSD__ ++#include <stdio.h> ++#endif ++ + #include <streambuf> + #include <memory> + diff --git a/devel/libbobcat/files/patch-inetaddress-inetaddress b/devel/libbobcat/files/patch-inetaddress-inetaddress new file mode 100644 index 000000000000..74fc9e5ccb44 --- /dev/null +++ b/devel/libbobcat/files/patch-inetaddress-inetaddress @@ -0,0 +1,14 @@ +--- inetaddress/inetaddress.orig 2013-11-13 11:44:52.000000000 +0100 ++++ inetaddress/inetaddress 2013-11-27 16:51:01.000000000 +0100 +@@ -1,6 +1,11 @@ + #ifndef INCLUDED_BOBCAT_INETADDRESS_ + #define INCLUDED_BOBCAT_INETADDRESS_ + ++#ifdef __FreeBSD__ ++#include <sys/types.h> ++#include <sys/socket.h> ++#endif ++ + #include <netinet/in.h> + #include <string> + diff --git a/devel/libbobcat/files/patch-inetaddress-inetaddress.ih b/devel/libbobcat/files/patch-inetaddress-inetaddress.ih deleted file mode 100644 index db4b8c937dab..000000000000 --- a/devel/libbobcat/files/patch-inetaddress-inetaddress.ih +++ /dev/null @@ -1,12 +0,0 @@ ---- inetaddress/inetaddress.ih.orig 2007-02-13 13:29:39.000000000 +0100 -+++ inetaddress/inetaddress.ih 2009-03-10 05:44:57.000000000 +0100 -@@ -2,6 +2,9 @@ - - #include <netdb.h> - #include <bobcat/gethostent> -+#ifdef __FreeBSD__ -+#include <sys/socket.h> -+#endif - - using namespace std; - using namespace FBB; diff --git a/devel/libbobcat/files/patch-localsocketbase-localsocketbase b/devel/libbobcat/files/patch-localsocketbase-localsocketbase new file mode 100644 index 000000000000..f879c9018829 --- /dev/null +++ b/devel/libbobcat/files/patch-localsocketbase-localsocketbase @@ -0,0 +1,13 @@ +--- localsocketbase/localsocketbase.orig 2013-11-13 11:44:52.000000000 +0100 ++++ localsocketbase/localsocketbase 2013-11-27 16:51:46.000000000 +0100 +@@ -5,6 +5,10 @@ + #include <string> + #include <sys/socket.h> + ++#ifdef __FreeBSD__ ++#include <string.h> ++#endif ++ + namespace FBB + { + diff --git a/devel/libbobcat/files/patch-localsocketbase-localsocketbase.ih b/devel/libbobcat/files/patch-localsocketbase-localsocketbase.ih deleted file mode 100644 index 2c1fce5703d9..000000000000 --- a/devel/libbobcat/files/patch-localsocketbase-localsocketbase.ih +++ /dev/null @@ -1,12 +0,0 @@ ---- localsocketbase/localsocketbase.ih.orig 2007-02-13 13:29:39.000000000 +0100 -+++ localsocketbase/localsocketbase.ih 2009-10-05 02:41:02.000000000 +0200 -@@ -1,6 +1,9 @@ - #include "localsocketbase" - - #include <netinet/in.h> -+#ifdef __FreeBSD__ -+#include <string.h> -+#endif - - using namespace std; - using namespace FBB; diff --git a/devel/libbobcat/files/patch-ofdstreambuf-ofdstreambuf b/devel/libbobcat/files/patch-ofdstreambuf-ofdstreambuf new file mode 100644 index 000000000000..e8db2a42b26d --- /dev/null +++ b/devel/libbobcat/files/patch-ofdstreambuf-ofdstreambuf @@ -0,0 +1,13 @@ +--- ofdstreambuf/ofdstreambuf.orig 2013-11-13 11:44:53.000000000 +0100 ++++ ofdstreambuf/ofdstreambuf 2013-11-27 14:45:13.000000000 +0100 +@@ -1,6 +1,10 @@ + #ifndef INCLUDED_BOBCAT_OFDSTREAMBUF_ + #define INCLUDED_BOBCAT_OFDSTREAMBUF_ + ++#ifdef __FreeBSD__ ++#include <stdio.h> ++#endif ++ + #include <streambuf> + + namespace FBB diff --git a/devel/libbobcat/files/patch-process-process b/devel/libbobcat/files/patch-process-process new file mode 100644 index 000000000000..38a0767b8fa4 --- /dev/null +++ b/devel/libbobcat/files/patch-process-process @@ -0,0 +1,13 @@ +--- process/process.orig 2013-11-13 11:45:02.000000000 +0100 ++++ process/process 2013-11-27 16:52:35.000000000 +0100 +@@ -5,6 +5,10 @@ + #include <ostream> + #include <istream> + ++#ifdef __FreeBSD__ ++#include <signal.h> ++#endif ++ + #include <bobcat/fork> + #include <bobcat/string> + #include <bobcat/pipe> diff --git a/devel/libbobcat/files/patch-process-process.ih b/devel/libbobcat/files/patch-process-process.ih deleted file mode 100644 index b24ca76420b7..000000000000 --- a/devel/libbobcat/files/patch-process-process.ih +++ /dev/null @@ -1,12 +0,0 @@ ---- process/process.ih.orig 2008-11-03 16:24:04.000000000 +0100 -+++ process/process.ih 2009-03-10 05:45:35.000000000 +0100 -@@ -6,6 +6,9 @@ - #include <sys/types.h> - // #include <sys/stat.h> - #include <sys/wait.h> -+#ifdef __FreeBSD__ -+#include <signal.h> -+#endif - - #include <bobcat/errno> - #include <bobcat/redirector> diff --git a/devel/libbobcat/files/patch-sharedmemory-sharedmemory b/devel/libbobcat/files/patch-sharedmemory-sharedmemory new file mode 100644 index 000000000000..68fd1433ab04 --- /dev/null +++ b/devel/libbobcat/files/patch-sharedmemory-sharedmemory @@ -0,0 +1,13 @@ +--- sharedmemory/sharedmemory.orig 2013-11-22 08:50:45.000000000 +0100 ++++ sharedmemory/sharedmemory 2013-11-27 14:38:27.000000000 +0100 +@@ -1,6 +1,10 @@ + #ifndef INCLUDED_BOBCAT_SHAREDMEMORY_ + #define INCLUDED_BOBCAT_SHAREDMEMORY_ + ++#ifdef __FreeBSD__ ++#include <stdio.h> ++#endif ++ + #include <ios> + + #include <bobcat/fswap> diff --git a/devel/libbobcat/files/patch-sharedstreambuf-sharedstreambuf b/devel/libbobcat/files/patch-sharedstreambuf-sharedstreambuf new file mode 100644 index 000000000000..d4a0e72a63f6 --- /dev/null +++ b/devel/libbobcat/files/patch-sharedstreambuf-sharedstreambuf @@ -0,0 +1,13 @@ +--- sharedstreambuf/sharedstreambuf.orig 2013-11-22 08:53:40.000000000 +0100 ++++ sharedstreambuf/sharedstreambuf 2013-11-27 14:30:47.000000000 +0100 +@@ -1,6 +1,10 @@ + #ifndef INCLUDED_BOBCAT_SHAREDSTREAMBUF_ + #define INCLUDED_BOBCAT_SHAREDSTREAMBUF_ + ++#ifdef __FreeBSD__ ++#include <stdio.h> ++#endif ++ + #include <ios> + #include <streambuf> + diff --git a/devel/libbobcat/files/patch-signal-signal b/devel/libbobcat/files/patch-signal-signal new file mode 100644 index 000000000000..4f972a6a64fb --- /dev/null +++ b/devel/libbobcat/files/patch-signal-signal @@ -0,0 +1,13 @@ +--- signal/signal.orig 2013-10-02 12:35:59.000000000 +0200 ++++ signal/signal 2013-11-27 14:28:38.000000000 +0100 +@@ -1,6 +1,10 @@ + #ifndef INCLUDED_SIGNAL_ + #define INCLUDED_SIGNAL_ + ++#ifdef __FreeBSD__ ++#include <stdlib.h> ++#endif ++ + #include <vector> + #include <signal.h> + diff --git a/devel/libbobcat/files/patch-socketbase-socketbase b/devel/libbobcat/files/patch-socketbase-socketbase new file mode 100644 index 000000000000..4d83073ee0b7 --- /dev/null +++ b/devel/libbobcat/files/patch-socketbase-socketbase @@ -0,0 +1,13 @@ +--- socketbase/socketbase.orig 2013-11-13 11:44:53.000000000 +0100 ++++ socketbase/socketbase 2013-11-27 14:27:08.000000000 +0100 +@@ -1,6 +1,10 @@ + #ifndef INCLUDED_BOBCAT_SOCKETBASE_ + #define INCLUDED_BOBCAT_SOCKETBASE_ + ++#ifdef __FreeBSD__ ++#include <sys/types.h> ++#endif ++ + #include <string> + #include <sys/socket.h> + diff --git a/devel/libbobcat/files/patch-stat-stat b/devel/libbobcat/files/patch-stat-stat new file mode 100644 index 000000000000..2d9ba0c3e841 --- /dev/null +++ b/devel/libbobcat/files/patch-stat-stat @@ -0,0 +1,13 @@ +--- stat/stat.orig 2013-11-13 11:44:53.000000000 +0100 ++++ stat/stat 2013-11-27 14:25:52.000000000 +0100 +@@ -6,6 +6,10 @@ + #include <unistd.h> + #include <string> + ++#ifdef __FreeBSD__ ++#include <errno.h> ++#endif ++ + #include <bobcat/datetime> + #include <bobcat/gs> + diff --git a/devel/libbobcat/files/patch-syslogbuf-syslogbuf b/devel/libbobcat/files/patch-syslogbuf-syslogbuf new file mode 100644 index 000000000000..ace0a11c6414 --- /dev/null +++ b/devel/libbobcat/files/patch-syslogbuf-syslogbuf @@ -0,0 +1,14 @@ +--- syslogbuf/syslogbuf.orig 2013-11-13 11:45:02.000000000 +0100 ++++ syslogbuf/syslogbuf 2013-11-27 14:19:23.000000000 +0100 +@@ -90,6 +90,11 @@ + #include <syslog.h> + #include <streambuf> + #include <string> ++ ++#ifdef __FreeBSD__ ++#include <stdio.h> ++#endif ++ + + namespace FBB + { diff --git a/devel/libbobcat/files/patch-syslogstream-syslogstream b/devel/libbobcat/files/patch-syslogstream-syslogstream new file mode 100644 index 000000000000..4dfed91bfe1b --- /dev/null +++ b/devel/libbobcat/files/patch-syslogstream-syslogstream @@ -0,0 +1,14 @@ +--- syslogstream/syslogstream.orig 2013-11-13 11:44:53.000000000 +0100 ++++ syslogstream/syslogstream 2013-11-27 14:17:49.000000000 +0100 +@@ -88,6 +88,11 @@ + + #include <ostream> + #include <syslog.h> ++ ++#ifdef __FreeBSD__ ++#include <errno.h> ++#endif ++ + + namespace FBB + { |