From d87262dd706fec50cd150aab3e93883b6337466d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 20:56:41 +0100 Subject: gentoo resync : 14.07.2018 --- .../pinfo/files/pinfo-0.6.10-libc-basename.patch | 33 ---------------------- 1 file changed, 33 deletions(-) delete mode 100644 app-text/pinfo/files/pinfo-0.6.10-libc-basename.patch (limited to 'app-text/pinfo/files/pinfo-0.6.10-libc-basename.patch') diff --git a/app-text/pinfo/files/pinfo-0.6.10-libc-basename.patch b/app-text/pinfo/files/pinfo-0.6.10-libc-basename.patch deleted file mode 100644 index 6e9d4954792a..000000000000 --- a/app-text/pinfo/files/pinfo-0.6.10-libc-basename.patch +++ /dev/null @@ -1,33 +0,0 @@ -do not redefine the basename that the C library provides - ---- a/src/filehandling_functions.c -+++ b/src/filehandling_functions.c -@@ -31,7 +31,6 @@ typedef struct - } - Suffixes; - --char * basename(char *filename); - - - /****************************************************************************** -@@ -713,20 +712,6 @@ opendirfile(int number) - return NULL; - } - --char * --basename(char *filename) --{ -- int len = strlen(filename); -- char *a = filename + len; -- while (a > filename) -- { -- a--; -- if (*a == '/') -- return a + 1; -- } -- return filename; /* when it was a basename */ --} -- - /* - * Note: openinfo is a function for reading info files, and putting - * uncompressed content into a temporary filename. For a flexibility, there -- cgit v1.2.3