SHA256
1
0
forked from pool/kbuild

Accepting request 313853 from home:michel_mno:branches:devel:tools:building

- Update to version 0.1.9998svn2784:
  many changes detailed in upstream url from svn 2720 to 2784.
  http://trac.netlabs.org/kbuild/timeline?from=2015-06-26&daysback=365
  http://trac.netlabs.org/kbuild/changeset?old_path=%2F&old=2784&new_path=%2F&new=2720
- Dropped patches:
  kbuild-kmk-makefile-am.patch
- Rebased patches:
  kbuild-glob.patch
  ppc64le.patch
  kbuild-timestamps.diff
  kbuild-pthread.diff
- All above changes allow to build package for ppc64/ppc64le archs

OBS-URL: https://build.opensuse.org/request/show/313853
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/kbuild?expand=0&rev=26
This commit is contained in:
Ismail Dönmez
2015-06-29 08:07:20 +00:00
committed by Git OBS Bridge
parent 216e3606ac
commit fc2349f6b4
9 changed files with 77 additions and 50 deletions

View File

@@ -1,14 +1,26 @@
--- a/src/kmk/dir.c 2013-12-06 18:40:31.882478000 +0100
+++ b/src/kmk/dir.c 2014-01-17 10:09:40.546258127 +0100
@@ -1310,7 +1310,11 @@
---
src/kmk/dir.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: kbuild-0.1.9998svn2784/src/kmk/dir.c
===================================================================
--- kbuild-0.1.9998svn2784.orig/src/kmk/dir.c
+++ kbuild-0.1.9998svn2784/src/kmk/dir.c
@@ -1310,7 +1310,7 @@ print_dir_data_base (void)
/* Hooks for globbing. */
+#ifdef KMK
+#include "glob/glob.h"
+#else
-#if defined(KMK) && !defined(__OS2__)
+#if defined(KMK) && !defined(__GLIBC__)
# include "glob/glob.h"
#else
#include <glob.h>
+#endif
/* Structure describing state of iterating through a directory hash table. */
@@ -1449,7 +1449,7 @@ dir_setup_glob (glob_t *gl)
#ifdef __EMX__ /* The FreeBSD implementation actually uses gl_lstat!! */
gl->gl_lstat = local_stat;
#endif
-#if defined(KMK) && !defined(__OS2__)
+#if defined(KMK) && !defined(__GLIBC__)
gl->gl_exists = file_exists_p;
gl->gl_isdir = dir_exists_p;
#endif