diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:56:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:56:41 +0100 |
commit | d87262dd706fec50cd150aab3e93883b6337466d (patch) | |
tree | 246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-text/bogosort/files | |
parent | 71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-text/bogosort/files')
-rw-r--r-- | app-text/bogosort/files/bogosort-0.4.2-glibc-2.10.patch | 41 | ||||
-rw-r--r-- | app-text/bogosort/files/xmalloc.patch | 15 |
2 files changed, 0 insertions, 56 deletions
diff --git a/app-text/bogosort/files/bogosort-0.4.2-glibc-2.10.patch b/app-text/bogosort/files/bogosort-0.4.2-glibc-2.10.patch deleted file mode 100644 index ac54c8b61b05..000000000000 --- a/app-text/bogosort/files/bogosort-0.4.2-glibc-2.10.patch +++ /dev/null @@ -1,41 +0,0 @@ -diff -ur bogosort-0.4.2.orig/getlines.c bogosort-0.4.2/getlines.c ---- bogosort-0.4.2.orig/getlines.c 2002-05-04 23:22:22.000000000 +0300 -+++ bogosort-0.4.2/getlines.c 2009-08-06 14:32:22.000000000 +0300 -@@ -49,7 +49,7 @@ - char **ss = NULL; - - /* read all lines available */ -- while ((s = getline(stream)) != NULL) { -+ while ((s = get_line(stream)) != NULL) { - if (numlines == allocated) /* make more room if needed */ - ss = (char **)xrealloc(ss, - (allocated += LINESTEP) * sizeof (char *)); -@@ -81,7 +81,7 @@ - allocated = numlines + 1; /* this is a lie, but it's close enough */ - - /* read all lines available */ -- while ((s = getline(stream)) != NULL) { -+ while ((s = get_line(stream)) != NULL) { - if (numlines == allocated) /* make more room if needed */ - ss = (char **)xrealloc(ss, - (allocated += LINESTEP) * sizeof (char *)); -@@ -100,7 +100,7 @@ - * line in stream, return NULL on EOF - */ - char * --getline(FILE *stream) -+get_line(FILE *stream) - { - int c, numchars = 0, allocated = 0; - char *s = NULL; -diff -ur bogosort-0.4.2.orig/getlines.h bogosort-0.4.2/getlines.h ---- bogosort-0.4.2.orig/getlines.h 2002-03-16 00:04:38.000000000 +0200 -+++ bogosort-0.4.2/getlines.h 2009-08-06 14:32:48.000000000 +0300 -@@ -39,6 +39,6 @@ - * getline: return a pointer to a newly allocated string containing the next - * line in stream - */ --char *getline(FILE *stream); -+char *get_line(FILE *stream); - - #endif /* GETLINES_H */ diff --git a/app-text/bogosort/files/xmalloc.patch b/app-text/bogosort/files/xmalloc.patch deleted file mode 100644 index 41545ca34ba8..000000000000 --- a/app-text/bogosort/files/xmalloc.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- xmalloc.c.orig 2004-12-15 23:44:16.880786468 +0100 -+++ xmalloc.c 2004-12-15 23:44:21.846546805 +0100 -@@ -68,12 +68,6 @@ - The caller may set it to some other value. */ - int xmalloc_exit_failure = EXIT_FAILURE; - --#if __STDC__ && (HAVE_VPRINTF || HAVE_DOPRNT) --void error (int, int, const char *, ...); --#else --void error (); --#endif -- - static VOID * - fixup_null_alloc (n) - size_t n; |