Date: Fri, 13 Dec 2002 14:29:39 +0100 From: "Petr Holub" <hopet@ics.muni.cz> To: <fenner@FreeBSD.org> Cc: <ports@FreeBSD.org> Subject: FreeBSD Port: vic-2.8.1.1.3_1 - patch for compilation on -CURRENT Message-ID: <000201c2a2ab$afabe2a0$2603fb93@kloboucek>
next in thread | raw e-mail | index | archive | help
Hi all, I'm sending patch for mbone/vic to compile on -CURRENT. I know it's rather hackish (protected -> public) but it seems to works and I don't have time to do analysis what's proper solution for it. I hope it's filed as PR as well though I don't know the PR number yet. Best regards, Petr ================================================================ Petr Holub CESNET z.s.p.o. Supercomputing Center Brno Zikova 4 Institute of Compt. Science 160 00 Praha 6, CZ Masaryk University Czech Republic Botanicka 68a, 60200 Brno, CZ e-mail: Petr.Holub@cesnet.cz phone: +420-5-41512213 e-mail: hopet@ics.muni.cz Only in vic/codec: encoder-jpeg.bak diff -u -r vic.old/codec/encoder-jpeg.cpp vic/codec/encoder-jpeg.cpp --- vic.old/codec/encoder-jpeg.cpp Fri Dec 13 10:31:01 2002 +++ vic/codec/encoder-jpeg.cpp Fri Dec 13 10:31:34 2002 @@ -127,7 +127,6 @@ void size(int w, int h); int consume(const VideoFrame*); - protected: struct huffentry { u_short val; u_short nb; Only in vic: main.bak diff -u -r vic.old/main.cpp vic/main.cpp --- vic.old/main.cpp Sun Dec 8 21:42:52 2002 +++ vic/main.cpp Fri Dec 13 10:30:13 2002 @@ -435,10 +435,10 @@ srandom(heuristic_random()); #ifdef SIGHUP - signal(SIGHUP, ciao); + signal(SIGHUP, (sig_t)ciao); #endif - signal(SIGINT, ciao); - signal(SIGTERM, ciao); + signal(SIGINT, (sig_t)ciao); + signal(SIGTERM, (sig_t)ciao); #ifdef __FreeBSD__ signal(SIGSYS, (sig_t)noXShm); #endif Only in vic/render/histtolut: histtolut.bak diff -u -r vic.old/render/histtolut/histtolut.cpp vic/render/histtolut/histtolut.cpp --- vic.old/render/histtolut/histtolut.cpp Fri Dec 13 10:36:23 2002 +++ vic/render/histtolut/histtolut.cpp Fri Dec 13 10:36:39 2002 @@ -62,6 +62,7 @@ #endif #include <sys/stat.h> #include <fcntl.h> +#include <string.h> #ifdef WIN32 extern "C" { To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000201c2a2ab$afabe2a0$2603fb93>