summaryrefslogtreecommitdiff
path: root/x11-misc/seetxt/files/seetxt-0.72-fno-common.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /x11-misc/seetxt/files/seetxt-0.72-fno-common.patch
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'x11-misc/seetxt/files/seetxt-0.72-fno-common.patch')
-rw-r--r--x11-misc/seetxt/files/seetxt-0.72-fno-common.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/x11-misc/seetxt/files/seetxt-0.72-fno-common.patch b/x11-misc/seetxt/files/seetxt-0.72-fno-common.patch
new file mode 100644
index 000000000000..f1d69b20d42c
--- /dev/null
+++ b/x11-misc/seetxt/files/seetxt-0.72-fno-common.patch
@@ -0,0 +1,24 @@
+https://sources.debian.org/patches/see/0.72-7/40-fix_ftbfs.patch/
+https://bugs.gentoo.org/707402
+--- a/src/main.h
++++ b/src/main.h
+@@ -92,7 +92,8 @@ typedef struct {
+ struct matchspec {
+ int bgn;
+ int end;
+-} rgxp;
++};
++extern struct matchspec rgxp;
+
+ /* see.c */
+ void addtohistory (char *line);
+--- a/src/util.c
++++ b/src/util.c
+@@ -11,6 +11,7 @@ Public License along with this program.
+ #include "main.h"
+
+ char *EXDline, Me[64];
++struct matchspec rgxp;
+
+ int buflen (char *buffer) {
+ int blen = strlen(buffer), NofL=0, i;