summaryrefslogtreecommitdiff
path: root/app-editors/lpe/files/lpe-1.2.6.13-fno-common.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-01-22 20:28:19 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-01-22 20:28:19 +0000
commitabaa75b10f899ada8dd05b23cc03205064394bc6 (patch)
treeeca3dd248b73b92013cba00a0fcc1edf2696e19a /app-editors/lpe/files/lpe-1.2.6.13-fno-common.patch
parent24fd814c326e282c4321965c31f341dad77e270d (diff)
gentoo resync : 22.01.2021
Diffstat (limited to 'app-editors/lpe/files/lpe-1.2.6.13-fno-common.patch')
-rw-r--r--app-editors/lpe/files/lpe-1.2.6.13-fno-common.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/app-editors/lpe/files/lpe-1.2.6.13-fno-common.patch b/app-editors/lpe/files/lpe-1.2.6.13-fno-common.patch
new file mode 100644
index 000000000000..2cc68157ed53
--- /dev/null
+++ b/app-editors/lpe/files/lpe-1.2.6.13-fno-common.patch
@@ -0,0 +1,31 @@
+https://bugs.gentoo.org/707188
+--- a/src/cfg.c
++++ b/src/cfg.c
+@@ -22,6 +22,7 @@
+ #include <string.h>
+ #endif
+
++extern char *LPE_CONFIG_FILE;
+ int cfg_errno;
+
+ void
+--- a/src/lpe.c
++++ b/src/lpe.c
+@@ -25,6 +25,7 @@
+ #include "strfuncs.h"
+ #include "exports.h"
+
++char *LPE_CONFIG_FILE;
+ /* A flag indicating a desire to quit the editor. This is set whenever a
+ * command should cause an exit.
+ */
+--- a/src/options.h
++++ b/src/options.h
+@@ -38,6 +38,6 @@
+ /*
+ * Other things that are used in some places...
+ */
+-char *LPE_CONFIG_FILE;
++extern char *LPE_CONFIG_FILE;
+
+ #endif /* LPE_OPTIONS_H */