public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Januszewski (spock)" <spock@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/nvidia-cuda-sdk/files: nvidia-cuda-sdk-2.02.0807.1535-make_cpp_fix.patch
Date: Sat, 18 Oct 2008 21:07:44 +0000	[thread overview]
Message-ID: <E1KrJ1U-0004uh-6Y@stork.gentoo.org> (raw)

spock       08/10/18 21:07:44

  Added:                nvidia-cuda-sdk-2.02.0807.1535-make_cpp_fix.patch
  Log:
  Initial commit.
  (Portage version: 2.2_rc12/cvs/Linux 2.6.27 x86_64, RepoMan options: --force)

Revision  Changes    Path
1.1                  dev-util/nvidia-cuda-sdk/files/nvidia-cuda-sdk-2.02.0807.1535-make_cpp_fix.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/nvidia-cuda-sdk/files/nvidia-cuda-sdk-2.02.0807.1535-make_cpp_fix.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/nvidia-cuda-sdk/files/nvidia-cuda-sdk-2.02.0807.1535-make_cpp_fix.patch?rev=1.1&content-type=text/plain

Index: nvidia-cuda-sdk-2.02.0807.1535-make_cpp_fix.patch
===================================================================
diff -Naurp sdk/common/inc/cmd_arg_reader.h sdk-fixed/common/inc/cmd_arg_reader.h
--- sdk/common/inc/cmd_arg_reader.h	2008-09-02 22:17:26.000000000 +0200
+++ sdk-fixed/common/inc/cmd_arg_reader.h	2008-10-15 22:10:45.000000000 +0200
@@ -37,6 +37,7 @@
 #include <iostream>
 #include <sstream>
 #include <algorithm>
+#include <typeinfo>
 
 // includes, project
 #include <exception.h>
diff -Naurp sdk/common/inc/exception.h sdk-fixed/common/inc/exception.h
--- sdk/common/inc/exception.h	2008-09-02 22:17:26.000000000 +0200
+++ sdk-fixed/common/inc/exception.h	2008-10-15 23:57:46.000000000 +0200
@@ -32,6 +32,7 @@
 #define _EXCEPTION_H_
 
 // includes, system
+#include <cstdlib>
 #include <exception>
 #include <stdexcept>
 #include <iostream>
diff -Naurp sdk/common/src/cmd_arg_reader.cpp sdk-fixed/common/src/cmd_arg_reader.cpp
--- sdk/common/src/cmd_arg_reader.cpp	2008-09-02 22:17:26.000000000 +0200
+++ sdk-fixed/common/src/cmd_arg_reader.cpp	2008-10-15 22:10:23.000000000 +0200
@@ -35,6 +35,8 @@
 // includes, system
 #include <vector>
 
+#include <typeinfo>
+
 // internal unnamed namespace
 
 namespace 
diff -Naurp sdk/common/src/cutil.cpp sdk-fixed/common/src/cutil.cpp
--- sdk/common/src/cutil.cpp	2008-09-02 22:17:26.000000000 +0200
+++ sdk-fixed/common/src/cutil.cpp	2008-10-15 23:56:15.000000000 +0200
@@ -36,6 +36,7 @@
 #include <cutil.h>
 
 // includes, system
+#include <cstring>
 #include <fstream>
 #include <vector>
 #include <iostream>
diff -Naurp sdk/common/src/paramgl.cpp sdk-fixed/common/src/paramgl.cpp
--- sdk/common/src/paramgl.cpp	2008-09-02 22:17:26.000000000 +0200
+++ sdk-fixed/common/src/paramgl.cpp	2008-10-15 23:58:10.000000000 +0200
@@ -4,6 +4,7 @@
     sgg 8/2001
 */
 
+#include <cstring>
 #include <param.h>
 #include <paramgl.h>
 
diff -Naurp sdk/Makefile sdk-fixed/Makefile
--- sdk/Makefile	2008-09-02 22:17:26.000000000 +0200
+++ sdk-fixed/Makefile	2008-10-16 13:42:42.000000000 +0200
@@ -2,32 +2,32 @@
 PROJECTS := $(shell find projects -name Makefile)
 
 %.ph_build : lib/libcutil.so lib/libparamgl.so lib/librendercheckgl.so
-	make -C $(dir $*) $(MAKECMDGOALS)
+	$(MAKE) -C $(dir $*) $(MAKECMDGOALS)
 
 %.ph_clean : 
-	make -C $(dir $*) clean $(USE_DEVICE)
+	$(MAKE) -C $(dir $*) clean $(USE_DEVICE)
 
 %.ph_clobber :
-	make -C $(dir $*) clobber $(USE_DEVICE)
+	$(MAKE) -C $(dir $*) clobber $(USE_DEVICE)
 
 all:  $(addsuffix .ph_build,$(PROJECTS))
 	@echo "Finished building all"
 
 lib/libcutil.so:
-	@make -C common
+	@$(MAKE) -C common
 
 lib/libparamgl.so:
-	@make -C common -f Makefile_paramgl
+	@$(MAKE) -C common -f Makefile_paramgl
 
 lib/librendercheckgl.so:
-	@make -C common -f Makefile_rendercheckgl
+	@$(MAKE) -C common -f Makefile_rendercheckgl
 
 tidy:
 	@find | egrep "#" | xargs rm -f
 	@find | egrep "\~" | xargs rm -f
 
 clean: tidy $(addsuffix .ph_clean,$(PROJECTS))
-	@make -C common clean
+	@$(MAKE) -C common clean
 
 clobber: clean $(addsuffix .ph_clobber,$(PROJECTS))
-	@make -C common clobber
+	@$(MAKE) -C common clobber
diff -Naurp sdk/projects/cppIntegration/main.cpp sdk-fixed/projects/cppIntegration/main.cpp
--- sdk/projects/cppIntegration/main.cpp	2008-09-02 22:17:33.000000000 +0200
+++ sdk-fixed/projects/cppIntegration/main.cpp	2008-10-15 23:59:14.000000000 +0200
@@ -41,6 +41,7 @@
 
 // includes, system
 #include <iostream>
+#include <cstdlib>
 
 // Required to include CUDA vector types
 #include <vector_types.h>






                 reply	other threads:[~2008-10-18 21:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1KrJ1U-0004uh-6Y@stork.gentoo.org \
    --to=spock@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox