SHA256
1
0
forked from pool/kbuild
kbuild/kbuild-glob.patch
Ismail Dönmez fc2349f6b4 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
2015-06-29 08:07:20 +00:00

27 lines
809 B
Diff
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
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. */
-#if defined(KMK) && !defined(__OS2__)
+#if defined(KMK) && !defined(__GLIBC__)
# include "glob/glob.h"
#else
#include <glob.h>
@@ -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