diff options
Diffstat (limited to 'app-editors/lpe/files')
-rw-r--r-- | app-editors/lpe/files/lpe-1.2.6.13-fno-common.patch | 31 | ||||
-rw-r--r-- | app-editors/lpe/files/lpe-1.2.6.13-make-382.patch | 5 |
2 files changed, 33 insertions, 3 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 */ diff --git a/app-editors/lpe/files/lpe-1.2.6.13-make-382.patch b/app-editors/lpe/files/lpe-1.2.6.13-make-382.patch index f8d96ef087e9..2e93042570aa 100644 --- a/app-editors/lpe/files/lpe-1.2.6.13-make-382.patch +++ b/app-editors/lpe/files/lpe-1.2.6.13-make-382.patch @@ -1,7 +1,6 @@ http://bugs.gentoo.org/335324 - ---- intl/Makefile.in -+++ intl/Makefile.in +--- a/intl/Makefile.in ++++ b/intl/Makefile.in @@ -202,12 +202,12 @@ # The dependency for intlh.inst is different in gettext and all other # packages. Because we cannot you GNU make features we have to solve |