- nedit-5.6-malloc-return-pointers.patch: Return correct pointers.
OBS-URL: https://build.opensuse.org/package/show/editors/nedit?expand=0&rev=14
This commit is contained in:
parent
41764829d5
commit
d003259f91
18
nedit-5.6-malloc-return-pointers.patch
Normal file
18
nedit-5.6-malloc-return-pointers.patch
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
--- util/nedit_malloc.c
|
||||||
|
+++ util/nedit_malloc.c
|
||||||
|
@@ -45,6 +45,7 @@
|
||||||
|
fprintf(stderr,"NEditMalloc(%lu) failed\n", (unsigned long)size);
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
+ return ptr;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -63,6 +64,7 @@
|
||||||
|
fprintf(stderr,"NEditRealloc(%lu) failed\n", (unsigned long)new_size);
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
+ return new_ptr;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 10 09:31:57 UTC 2015 - drahn@suse.com
|
||||||
|
|
||||||
|
- nedit-5.6-malloc-return-pointers.patch: Return correct pointers.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 10 08:19:18 UTC 2015 - drahn@suse.com
|
Fri Apr 10 08:19:18 UTC 2015 - drahn@suse.com
|
||||||
|
|
||||||
|
@ -20,6 +20,7 @@ Patch3: %{name}-5.5CVS-nc-manfix.patch
|
|||||||
Patch4: %{name}-5.5-visfix.patch
|
Patch4: %{name}-5.5-visfix.patch
|
||||||
Patch5: %{name}-5.5CVS-utf8.patch
|
Patch5: %{name}-5.5CVS-utf8.patch
|
||||||
Patch6: %{name}-5.5CVS-motif.patch
|
Patch6: %{name}-5.5CVS-motif.patch
|
||||||
|
Patch7: %{name}-5.6-malloc-return-pointers.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
NEdit is a GUI style plain text editor for workstations with the X Window System
|
NEdit is a GUI style plain text editor for workstations with the X Window System
|
||||||
@ -35,6 +36,7 @@ and a lot other nice features (and extensions for programmers).
|
|||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
%patch5 -p0
|
%patch5 -p0
|
||||||
%patch6 -p1
|
%patch6 -p1
|
||||||
|
%patch7 -p0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
#find -name .cvsignore |xargs rm
|
#find -name .cvsignore |xargs rm
|
||||||
|
Loading…
Reference in New Issue
Block a user