From 1c7d6584a7811b7785ae5c1e378f14b5ba0971cf Mon Sep 17 00:00:00 2001 From: takeshi_hoshina Date: Mon, 2 Nov 2020 11:07:33 +0900 Subject: basesystem-jj recipes --- ...-define-this-function-differently-than-it.patch | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 external/meta-python2/recipes-devtools/python/python-numeric/0001-it-tries-to-define-this-function-differently-than-it.patch (limited to 'external/meta-python2/recipes-devtools/python/python-numeric/0001-it-tries-to-define-this-function-differently-than-it.patch') diff --git a/external/meta-python2/recipes-devtools/python/python-numeric/0001-it-tries-to-define-this-function-differently-than-it.patch b/external/meta-python2/recipes-devtools/python/python-numeric/0001-it-tries-to-define-this-function-differently-than-it.patch new file mode 100644 index 00000000..81ed744c --- /dev/null +++ b/external/meta-python2/recipes-devtools/python/python-numeric/0001-it-tries-to-define-this-function-differently-than-it.patch @@ -0,0 +1,30 @@ +From 322e781c67d7a78fc2cfc3d377f50b825fc64abb Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 2 Jun 2017 20:21:01 -0700 +Subject: [PATCH] it tries to define this function differently than it is + defined in sys/time.h. + +Use the definition from system + +Signed-off-by: Khem Raj +--- + Packages/RNG/Src/ranf.c | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/Packages/RNG/Src/ranf.c b/Packages/RNG/Src/ranf.c +index 5ca7dc5..e669fa8 100644 +--- a/Packages/RNG/Src/ranf.c ++++ b/Packages/RNG/Src/ranf.c +@@ -149,9 +149,6 @@ void Mixranf(int *s,u32 s48[2]) + #else + struct timeval tv; + struct timezone tz; +-#if !defined(__sgi) +- int gettimeofday(struct timeval *, struct timezone *); +-#endif + + (void)gettimeofday(&tv,&tz); + s48[0] = (u32)tv.tv_sec; +-- +2.13.0 + -- cgit 1.2.3-korg