"compilation fixes based on feedback from Gregory Kriehn"
[email protected] Thu, 01 Aug 2002 11:45:27 -0700
| Newsgroups | gmane.comp.lib.ivtools.patches |
|---|---|
| Message-ID | <[email protected]> |
Patch: ivtools-020801-johnston-062 For: ivtools-1.0.4 Author: [email protected] Subject: compilation fixes based on feedback from Gregory Kriehn Requires: This is an intermediate patch to ivtools-1.0.4. To apply, cd to the top-level directory of the ivtools source tree (the directory with src and config subdirs), and apply like this: patch -p0 <ThisFile Summary of Changes: - compilation fixes based on feedback from Gregory Kriehn. Mostly adding #include <string.h> where missing. Don't know why this wasn't a problem in every environment. Index: ComTerp/symbolfunc.c diff -c ComTerp/symbolfunc.c:1.1 ComTerp/symbolfunc.c:1.2 *** ComTerp/symbolfunc.c:1.1 Fri Nov 2 13:04:49 2001 --- src/ComTerp/symbolfunc.c Thu Aug 1 11:39:29 2002 *************** *** 33,38 **** --- 33,39 ---- #include <Unidraw/iterator.h> #include <iostream.h> + #include <string.h> #define TITLE "SymbolFunc" Index: src_dispatch/rpcbuf.c diff -c src_dispatch/rpcbuf.c:1.3 src_dispatch/rpcbuf.c:1.4 *** src_dispatch/rpcbuf.c:1.3 Mon Jul 29 17:45:01 2002 --- src/Dispatch/rpcbuf.c Thu Aug 1 11:39:33 2002 *************** *** 44,50 **** #define SOMAXCONN 5 #endif ! #if defined(__sun) || !defined(__svr4__) extern "C" { int accept(); int bind(); --- 44,50 ---- #define SOMAXCONN 5 #endif ! #if defined(__sun) && !defined(__svr4__) extern "C" { int accept(); int bind(); Index: Time/timeglyph.c diff -c Time/timeglyph.c:1.2 Time/timeglyph.c:1.3 *** Time/timeglyph.c:1.2 Wed Jul 24 11:00:10 2002 --- src/Time/timeglyph.c Thu Aug 1 11:39:35 2002 *************** *** 37,42 **** --- 37,43 ---- #include <OS/string.h> #include <stdio.h> #include <stdlib.h> + #include <string.h> declareActionCallback(ObservableTime) implementActionCallback(ObservableTime) Index: Unidraw/gvupdater.c diff -c Unidraw/gvupdater.c:1.1 Unidraw/gvupdater.c:1.2 *** Unidraw/gvupdater.c:1.1 Fri Nov 2 13:06:49 2001 --- src/Unidraw/gvupdater.c Thu Aug 1 11:39:44 2002 *************** *** 38,43 **** --- 38,44 ---- #include <IV-2_6/_enter.h> #include <iostream.h> + #include <stdlib.h> /*****************************************************************************/ Index: OverlayUnidraw/ovcomps.c diff -c OverlayUnidraw/ovcomps.c:1.1 OverlayUnidraw/ovcomps.c:1.2 *** OverlayUnidraw/ovcomps.c:1.1 Fri Nov 2 13:07:02 2001 --- src/OverlayUnidraw/ovcomps.c Thu Aug 1 11:39:47 2002 *************** *** 58,63 **** --- 58,64 ---- #include <string.h> #include <sys/param.h> #include <unistd.h> + #include <stdlib.h> #if __GNUG__<3 extern "C" Index: ComUnidraw/comeditor.c diff -c ComUnidraw/comeditor.c:1.12 ComUnidraw/comeditor.c:1.13 *** ComUnidraw/comeditor.c:1.12 Fri Jun 14 16:07:34 2002 --- src/ComUnidraw/comeditor.c Thu Aug 1 11:39:49 2002 *************** *** 59,64 **** --- 59,65 ---- #include <Attribute/attrlist.h> #include <strstream.h> + #include <string.h> /*****************************************************************************/ Index: DrawServ/drawcomps.c diff -c DrawServ/drawcomps.c:1.1 DrawServ/drawcomps.c:1.2 *** DrawServ/drawcomps.c:1.1 Fri Nov 2 13:07:16 2001 --- src/DrawServ/drawcomps.c Thu Aug 1 11:39:52 2002 *************** *** 39,44 **** --- 39,45 ---- #include <Unidraw/Graphic/picture.h> #include <Attribute/attrlist.h> #include <iostream.h> + #include <string.h> /*****************************************************************************/ Index: utils_ivtools/ivdl.cc diff -c utils_ivtools/ivdl.cc:1.1 utils_ivtools/ivdl.cc:1.2 *** utils_ivtools/ivdl.cc:1.1 Fri Nov 2 13:07:54 2001 --- src/utils/ivdl.cc Thu Aug 1 11:39:57 2002 *************** *** 26,31 **** --- 26,32 ---- #include "downloader.h" #include <iostream.h> + #include <stdlib.h> int main(int argc, char** argv) { *** /dev/null Thu Aug 1 11:40:01 PDT 2002 --- patches/ivtools-020801-johnston-062 *************** patches/ivtools-020801-johnston-062 *** 0 **** --- 1 ---- + ivtools-020801-johnston-062 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf