summaryrefslogtreecommitdiff
path: root/app-text/pinfo/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-07 11:42:03 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-07 11:42:03 +0100
commitf70601e0934acd62f6c5d06c5ede4cc607179514 (patch)
tree0b337390375de04b950fc4b45edc0f895a4701a4 /app-text/pinfo/files
parentb2be182d49eea46686b5cf2680d457df61e89dc4 (diff)
gentoo resync : 07.07.2018
Diffstat (limited to 'app-text/pinfo/files')
-rw-r--r--app-text/pinfo/files/pinfo-0.6.10-gcc-7-inline.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/app-text/pinfo/files/pinfo-0.6.10-gcc-7-inline.patch b/app-text/pinfo/files/pinfo-0.6.10-gcc-7-inline.patch
new file mode 100644
index 000000000000..d73ad947c7df
--- /dev/null
+++ b/app-text/pinfo/files/pinfo-0.6.10-gcc-7-inline.patch
@@ -0,0 +1,42 @@
+--- a/src/initializelinks.c
++++ b/src/initializelinks.c
+@@ -75,7 +75,7 @@
+ * checks if an item belongs to tag table. returns 1 on success and 0 on
+ * failure. It should be optimised...
+ */
+-inline int
++int
+ exists_in_tag_table(char *item)
+ {
+ if (gettagtablepos(item) != -1)
+--- a/src/filehandling_functions.c
++++ b/src/filehandling_functions.c
+@@ -554,7 +554,7 @@
+ return 1;
+ }
+
+-inline void
++void
+ buildcommand(char *dest, char *command, char *filename, const char *tmpfilename)
+ {
+ strcpy(dest, command);
+@@ -564,7 +564,7 @@
+ strcat(dest, tmpfilename);
+ }
+
+-inline void
++void
+ builddircommand(char *dest, char *command, char *filename, const char *tmpfilename)
+ {
+ strcpy(dest, command);
+--- a/src/utils.c
++++ b/src/utils.c
+@@ -193,7 +193,7 @@
+ return value;
+ }
+
+-inline void
++void
+ initlocale()
+ {
+ #ifdef ___DEBUG___