You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

34 lines
1.0 KiB

Index: dragon-1.3.10/samples/Makefile.in
--- dragon-1.3.10/samples/Makefile.in.orig 2013-05-18 08:27:24.000000000 +0200
+++ dragon-1.3.10/samples/Makefile.in 2013-05-20 00:23:30.673582722 +0200
@@ -20,7 +20,7 @@
INCLUDEPREFIX = $(PREFIX)/include
LIBPREFIX = $(PREFIX)/lib
-CXFLAGS = -I$(INCLUDEPREFIX) -I../src @CFLAGS@
+CXFLAGS = -I$(INCLUDEPREFIX) -I../src @CFLAGS@ @CPPFLAGS@
LDFLAGS = -L$(LIBPREFIX) @LDFLAGS@
.SUFFIXES: .cc .o
Index: dragon-1.3.10/samples/gxmain.cc
--- dragon-1.3.10/samples/gxmain.cc.orig 2013-05-18 07:34:59.000000000 +0200
+++ dragon-1.3.10/samples/gxmain.cc 2013-05-20 00:25:14.593679953 +0200
@@ -17,6 +17,7 @@
#include "G3.h"
#endif
+#include <stdlib.h>
#include <lfcbase/Exception.h>
#if defined(SAMPLE_G1)
Index: dragon-1.3.10/src/Main.cc
--- dragon-1.3.10/src/Main.cc.orig 2013-05-18 07:40:49.000000000 +0200
+++ dragon-1.3.10/src/Main.cc 2013-05-20 00:23:30.673582722 +0200
@@ -40,6 +40,7 @@
// DRAGON INCLUDES
#include "Dragon.h"
+#include <stdlib.h>
#include <config.h>
#define VERSION PACKAGE_VERSION