public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-chemistry/cluster/files: 1.3.081231-ldflags.patch 1.3.081231-includes.patch
@ 2010-07-18  8:27 Justin Lecher (jlec)
  0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2010-07-18  8:27 UTC (permalink / raw
  To: gentoo-commits

jlec        10/07/18 08:27:47

  Added:                1.3.081231-ldflags.patch 1.3.081231-includes.patch
  Log:
  New Addition
  (Portage version: 2.2_rc67/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  sci-chemistry/cluster/files/1.3.081231-ldflags.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/cluster/files/1.3.081231-ldflags.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/cluster/files/1.3.081231-ldflags.patch?rev=1.1&content-type=text/plain

Index: 1.3.081231-ldflags.patch
===================================================================
diff --git a/Makefile b/Makefile
index 7892054..938a8c8 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ PROG_FLGS   = -D BOOLPREDEFINED
 
 SRCS = cluster.cpp DisjointSets.cpp utility.cpp
 
-CFLAGS = $(OPT) $(DEBUG) $(PROG_FLGS)
+CXXFLAGS += $(OPT) $(DEBUG) $(PROG_FLGS)
 
 LFLAGS = 
 
@@ -12,7 +12,7 @@ OBJLIST = cluster.o DisjointSets.o utility.o
 CXX		= g++
 
 .cpp.o:
-	$(CXX) -c $*.cpp $(CFLAGS)
+	$(CXX) $(CXXFLAGS) -c $*.cpp
 
 OPT             = -O3
 DEBUG           = $(CXXDEBUGFLAGS)
@@ -20,10 +20,10 @@ DEBUG           = $(CXXDEBUGFLAGS)
 all:    cluster
 
 cluster:    $(OBJLIST)
-	$(CXX) -o $@ $(OBJLIST) $(LFLAGS)
+	$(CXX) $(LDFLAGS) -o $@ $(OBJLIST)
 
 depend:
-	makedepend -- $(CFLAGS) -- $(SRCS)
+	makedepend -- $(CXXFLAGS) -- $(SRCS)
 
 clean:
 	@rm -rf *.o *.ckp ii_files



1.1                  sci-chemistry/cluster/files/1.3.081231-includes.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/cluster/files/1.3.081231-includes.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/cluster/files/1.3.081231-includes.patch?rev=1.1&content-type=text/plain

Index: 1.3.081231-includes.patch
===================================================================
diff --git a/cluster.cpp b/cluster.cpp
index 0a8c3c1..1384949 100644
--- a/cluster.cpp
+++ b/cluster.cpp
@@ -24,6 +24,7 @@
 #include <iostream>
 #include <vector>
 #include <string>
+#include <cstring>
 
 #include <iostream>
 #include <fstream>






^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-07-18  8:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-18  8:27 [gentoo-commits] gentoo-x86 commit in sci-chemistry/cluster/files: 1.3.081231-ldflags.patch 1.3.081231-includes.patch Justin Lecher (jlec)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox