Accepting request 67908 from Base:System
Accepted submit request 67908 from user licensedigger OBS-URL: https://build.opensuse.org/request/show/67908 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/make?expand=0&rev=14
This commit is contained in:
30
make-fix_whitespace_tokenization.diff
Normal file
30
make-fix_whitespace_tokenization.diff
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
Index: make-3.82/function.c
|
||||||
|
===================================================================
|
||||||
|
--- make-3.82.orig/function.c
|
||||||
|
+++ make-3.82/function.c
|
||||||
|
@@ -1133,19 +1133,14 @@ func_sort (char *o, char **argv, const c
|
||||||
|
|
||||||
|
/* Find the maximum number of words we'll have. */
|
||||||
|
t = argv[0];
|
||||||
|
- wordi = 1;
|
||||||
|
- while (*t != '\0')
|
||||||
|
+ wordi = 0;
|
||||||
|
+ while ((p = find_next_token (&t, &len)) != 0)
|
||||||
|
{
|
||||||
|
- char c = *(t++);
|
||||||
|
-
|
||||||
|
- if (! isspace ((unsigned char)c))
|
||||||
|
- continue;
|
||||||
|
-
|
||||||
|
- ++wordi;
|
||||||
|
-
|
||||||
|
- while (isspace ((unsigned char)*t))
|
||||||
|
- ++t;
|
||||||
|
+ ++t;
|
||||||
|
+ wordi++;
|
||||||
|
}
|
||||||
|
+ if (! wordi)
|
||||||
|
+ wordi = 1;
|
||||||
|
|
||||||
|
words = xmalloc (wordi * sizeof (char *));
|
||||||
|
|
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 19 15:22:27 UTC 2011 - mhopf@novell.com
|
||||||
|
|
||||||
|
- make-fix_whitespace_tokenization.diff
|
||||||
|
Fix Savannah bug #33125 (bnc #681108):
|
||||||
|
Memory corruption during build of android build system.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 7 17:22:32 UTC 2010 - mhopf@novell.com
|
Tue Sep 7 17:22:32 UTC 2010 - mhopf@novell.com
|
||||||
|
|
||||||
|
@@ -33,6 +33,7 @@ Patch2: make-slowdown-parallelism.diff
|
|||||||
Patch3: make-disable-broken-tests.diff
|
Patch3: make-disable-broken-tests.diff
|
||||||
Patch4: make-savannah-bug30723-expand_makeflags_before_reexec.diff
|
Patch4: make-savannah-bug30723-expand_makeflags_before_reexec.diff
|
||||||
Patch5: make-savannah-bug30612-handling_of_archives.diff
|
Patch5: make-savannah-bug30612-handling_of_archives.diff
|
||||||
|
Patch6: make-fix_whitespace_tokenization.diff
|
||||||
Patch64: make-library-search-path.diff
|
Patch64: make-library-search-path.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
@@ -45,6 +46,7 @@ The GNU make command with extensive documentation.
|
|||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
|
%patch6 -p1
|
||||||
if [ %_lib == lib64 ]; then
|
if [ %_lib == lib64 ]; then
|
||||||
%patch64
|
%patch64
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user