diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-16 09:38:14 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-16 09:38:14 +0000 |
commit | 5a55408b77fb20b9e39428685dd20d215de37dcd (patch) | |
tree | 3bbc7c5f3b45fae6504a8c8f3b0d334b54514742 | |
parent | 465ce57d4270fbe8637e527e047115824424cf39 (diff) |
* ext/digest: Work around a build problem with VC++ 2010, likely
due to a bug of its cl.exe. [Bug #3231]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/digest/bubblebabble/bubblebabble.c | 2 | ||||
-rw-r--r-- | ext/digest/bubblebabble/extconf.rb | 1 | ||||
-rw-r--r-- | ext/digest/md5/extconf.rb | 1 | ||||
-rw-r--r-- | ext/digest/md5/md5.h | 2 | ||||
-rw-r--r-- | ext/digest/md5/md5init.c | 2 | ||||
-rw-r--r-- | ext/digest/rmd160/extconf.rb | 1 | ||||
-rw-r--r-- | ext/digest/rmd160/rmd160.h | 2 | ||||
-rw-r--r-- | ext/digest/rmd160/rmd160init.c | 2 | ||||
-rw-r--r-- | ext/digest/rmd160/rmd160ossl.c | 2 | ||||
-rw-r--r-- | ext/digest/sha1/extconf.rb | 1 | ||||
-rw-r--r-- | ext/digest/sha1/sha1.h | 2 | ||||
-rw-r--r-- | ext/digest/sha1/sha1init.c | 2 | ||||
-rw-r--r-- | ext/digest/sha1/sha1ossl.c | 2 | ||||
-rw-r--r-- | ext/digest/sha2/extconf.rb | 1 | ||||
-rw-r--r-- | ext/digest/sha2/sha2.c | 2 | ||||
-rw-r--r-- | ext/digest/sha2/sha2init.c | 2 | ||||
-rw-r--r-- | ext/digest/sha2/sha2ossl.c | 2 |
18 files changed, 17 insertions, 17 deletions
@@ -1,3 +1,8 @@ +Wed Jun 16 18:35:20 2010 Akinori MUSHA <knu@iDaemons.org> + + * ext/digest: Work around a build problem with VC++ 2010, likely + due to a bug of its cl.exe. [Bug #3231] + Wed Jun 16 15:44:59 2010 NAKAMURA Usaku <usa@ruby-lang.org> * error.c (rb_bug): existance of _set_abort_behavior() depends on diff --git a/ext/digest/bubblebabble/bubblebabble.c b/ext/digest/bubblebabble/bubblebabble.c index c92ae52cd9..e4e3173074 100644 --- a/ext/digest/bubblebabble/bubblebabble.c +++ b/ext/digest/bubblebabble/bubblebabble.c @@ -12,7 +12,7 @@ ************************************************/ #include "ruby.h" -#include "digest.h" +#include "../digest.h" static ID id_digest; diff --git a/ext/digest/bubblebabble/extconf.rb b/ext/digest/bubblebabble/extconf.rb index 53cb83934a..1214add293 100644 --- a/ext/digest/bubblebabble/extconf.rb +++ b/ext/digest/bubblebabble/extconf.rb @@ -1,6 +1,5 @@ require 'mkmf' $defs << "-DHAVE_CONFIG_H" -$INCFLAGS << " -I$(srcdir)/.." create_makefile('digest/bubblebabble') diff --git a/ext/digest/md5/extconf.rb b/ext/digest/md5/extconf.rb index ddfdb707f2..43a663ca2e 100644 --- a/ext/digest/md5/extconf.rb +++ b/ext/digest/md5/extconf.rb @@ -4,7 +4,6 @@ require "mkmf" $defs << "-DHAVE_CONFIG_H" -$INCFLAGS << " -I$(srcdir)/.." $objs = [ "md5init.#{$OBJEXT}" ] diff --git a/ext/digest/md5/md5.h b/ext/digest/md5/md5.h index f4580ef5e7..91118a8adf 100644 --- a/ext/digest/md5/md5.h +++ b/ext/digest/md5/md5.h @@ -46,7 +46,7 @@ #ifndef MD5_INCLUDED # define MD5_INCLUDED -#include "defs.h" +#include "../defs.h" /* * This code has some adaptations for the Ghostscript environment, but it diff --git a/ext/digest/md5/md5init.c b/ext/digest/md5/md5init.c index d1229b5c6e..190d7d049f 100644 --- a/ext/digest/md5/md5init.c +++ b/ext/digest/md5/md5init.c @@ -1,7 +1,7 @@ /* $RoughId: md5init.c,v 1.2 2001/07/13 19:49:10 knu Exp $ */ /* $Id$ */ -#include "digest.h" +#include "../digest.h" #if defined(HAVE_OPENSSL_MD5_H) #include "md5ossl.h" #else diff --git a/ext/digest/rmd160/extconf.rb b/ext/digest/rmd160/extconf.rb index cc361e3d2b..4af4f156c3 100644 --- a/ext/digest/rmd160/extconf.rb +++ b/ext/digest/rmd160/extconf.rb @@ -4,7 +4,6 @@ require "mkmf" $defs << "-DNDEBUG" << "-DHAVE_CONFIG_H" -$INCFLAGS << " -I$(srcdir)/.." $objs = [ "rmd160init.#{$OBJEXT}" ] diff --git a/ext/digest/rmd160/rmd160.h b/ext/digest/rmd160/rmd160.h index 2c98f11cd0..cbfd0ab998 100644 --- a/ext/digest/rmd160/rmd160.h +++ b/ext/digest/rmd160/rmd160.h @@ -26,7 +26,7 @@ #ifndef _RMD160_H_ #define _RMD160_H_ -#include "defs.h" +#include "../defs.h" typedef struct { uint32_t state[5]; /* state (ABCDE) */ diff --git a/ext/digest/rmd160/rmd160init.c b/ext/digest/rmd160/rmd160init.c index 0839f1b820..c02be3dd0e 100644 --- a/ext/digest/rmd160/rmd160init.c +++ b/ext/digest/rmd160/rmd160init.c @@ -1,7 +1,7 @@ /* $RoughId: rmd160init.c,v 1.3 2001/07/13 20:00:43 knu Exp $ */ /* $Id$ */ -#include "digest.h" +#include "../digest.h" #if defined(HAVE_OPENSSL_RIPEMD_H) #include "rmd160ossl.h" #else diff --git a/ext/digest/rmd160/rmd160ossl.c b/ext/digest/rmd160/rmd160ossl.c index f24e63e3d8..bbfff8bbe2 100644 --- a/ext/digest/rmd160/rmd160ossl.c +++ b/ext/digest/rmd160/rmd160ossl.c @@ -1,6 +1,6 @@ /* $Id$ */ -#include "defs.h" +#include "../defs.h" #include "rmd160ossl.h" void RMD160_Finish(RMD160_CTX *ctx, char *buf) { diff --git a/ext/digest/sha1/extconf.rb b/ext/digest/sha1/extconf.rb index fa9945cd43..810f1515b5 100644 --- a/ext/digest/sha1/extconf.rb +++ b/ext/digest/sha1/extconf.rb @@ -4,7 +4,6 @@ require "mkmf" $defs << "-DHAVE_CONFIG_H" -$INCFLAGS << " -I$(srcdir)/.." $objs = [ "sha1init.#{$OBJEXT}" ] diff --git a/ext/digest/sha1/sha1.h b/ext/digest/sha1/sha1.h index 55997e73dd..c196a3d9fe 100644 --- a/ext/digest/sha1/sha1.h +++ b/ext/digest/sha1/sha1.h @@ -11,7 +11,7 @@ #ifndef _SYS_SHA1_H_ #define _SYS_SHA1_H_ -#include "defs.h" +#include "../defs.h" typedef struct { uint32_t state[5]; diff --git a/ext/digest/sha1/sha1init.c b/ext/digest/sha1/sha1init.c index 06e7378950..4c3f26b9e8 100644 --- a/ext/digest/sha1/sha1init.c +++ b/ext/digest/sha1/sha1init.c @@ -1,7 +1,7 @@ /* $RoughId: sha1init.c,v 1.2 2001/07/13 19:49:10 knu Exp $ */ /* $Id$ */ -#include "digest.h" +#include "../digest.h" #if defined(HAVE_OPENSSL_SHA_H) #include "sha1ossl.h" #else diff --git a/ext/digest/sha1/sha1ossl.c b/ext/digest/sha1/sha1ossl.c index 452cf35084..0fcb2d6b1e 100644 --- a/ext/digest/sha1/sha1ossl.c +++ b/ext/digest/sha1/sha1ossl.c @@ -1,6 +1,6 @@ /* $Id$ */ -#include "defs.h" +#include "../defs.h" #include "sha1ossl.h" void diff --git a/ext/digest/sha2/extconf.rb b/ext/digest/sha2/extconf.rb index a8f0198cf0..4bc89bd42c 100644 --- a/ext/digest/sha2/extconf.rb +++ b/ext/digest/sha2/extconf.rb @@ -4,7 +4,6 @@ require "mkmf" $defs << "-DHAVE_CONFIG_H" -$INCFLAGS << " -I$(srcdir)/.." $objs = [ "sha2init.#{$OBJEXT}" ] diff --git a/ext/digest/sha2/sha2.c b/ext/digest/sha2/sha2.c index ac7f7b5b7a..650442d72d 100644 --- a/ext/digest/sha2/sha2.c +++ b/ext/digest/sha2/sha2.c @@ -34,7 +34,7 @@ * $Id$ */ -#include "defs.h" +#include "../defs.h" #include <string.h> /* memcpy()/memset() or bcopy()/bzero() */ #include <assert.h> /* assert() */ #include "sha2.h" diff --git a/ext/digest/sha2/sha2init.c b/ext/digest/sha2/sha2init.c index 13df4bcb78..2e6a61a09f 100644 --- a/ext/digest/sha2/sha2init.c +++ b/ext/digest/sha2/sha2init.c @@ -1,7 +1,7 @@ /* $RoughId: sha2init.c,v 1.3 2001/07/13 20:00:43 knu Exp $ */ /* $Id$ */ -#include "digest.h" +#include "../digest.h" #if defined(SHA2_USE_OPENSSL) #include "sha2ossl.h" #else diff --git a/ext/digest/sha2/sha2ossl.c b/ext/digest/sha2/sha2ossl.c index 86824e72f4..1316d93759 100644 --- a/ext/digest/sha2/sha2ossl.c +++ b/ext/digest/sha2/sha2ossl.c @@ -1,4 +1,4 @@ -#include "defs.h" +#include "../defs.h" #include "sha2ossl.h" #define SHA_Finish(bit) \ |