Revision: 54030
          http://brlcad.svn.sourceforge.net/brlcad/?rev=54030&view=rev
Author:   caen23
Date:     2012-12-09 20:48:45 +0000 (Sun, 09 Dec 2012)
Log Message:
-----------
Enable pictx for compilation (GCI: 
http://www.google-melange.com/gci/task/view/google/gci2012/7958220)

Modified Paths:
--------------
    brlcad/trunk/src/irprep/CMakeLists.txt
    brlcad/trunk/src/irprep/pictx.c

Modified: brlcad/trunk/src/irprep/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/irprep/CMakeLists.txt      2012-12-07 22:58:22 UTC (rev 
54029)
+++ brlcad/trunk/src/irprep/CMakeLists.txt      2012-12-09 20:48:45 UTC (rev 
54030)
@@ -9,6 +9,7 @@
 if(BRLCAD_ENABLE_X11)
   BRLCAD_ADDEXEC(ir-X ir-X.c "libbu;${X11_LIBRARIES}")
   BRLCAD_ADDEXEC(irdisp irdisp.c "libbu;${X11_LIBRARIES}")
+  BRLCAD_ADDEXEC(pictx pictx.c "${X11_LIBRARIES}")
 endif(BRLCAD_ENABLE_X11)
 
 BRLCAD_ADDEXEC(all_sf all_sf.c "librt;${M_LIBRARY}")

Modified: brlcad/trunk/src/irprep/pictx.c
===================================================================
--- brlcad/trunk/src/irprep/pictx.c     2012-12-07 22:58:22 UTC (rev 54029)
+++ brlcad/trunk/src/irprep/pictx.c     2012-12-09 20:48:45 UTC (rev 54030)
@@ -33,9 +33,11 @@
 #include<stdio.h>
 #include<string.h>
 #include<math.h>
+#include<stdlib.h>
 #include<X11/Xlib.h>
 #include<X11/Xutil.h>
 
+int
 main(void)
 {
     int ichoice;                       /*  Choice.  */
@@ -137,6 +139,7 @@
        system(irX);
     }
 
+    return 0;
 }
 
 /*

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to