1 |
commit: 1be6cb44980cf8233900889326d14aa054987a62 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Jun 29 20:02:42 2022 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Wed Jun 29 20:24:05 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1be6cb44 |
7 |
|
8 |
app-i18n/canna: don't call gcc directly |
9 |
|
10 |
Bug: https://bugs.gentoo.org/855125 |
11 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
12 |
|
13 |
app-i18n/canna/files/canna-respect-flags.patch | 19 +++++++++++++++---- |
14 |
1 file changed, 15 insertions(+), 4 deletions(-) |
15 |
|
16 |
diff --git a/app-i18n/canna/files/canna-respect-flags.patch b/app-i18n/canna/files/canna-respect-flags.patch |
17 |
index 13fb1ed9c..893fc9cd8 100644 |
18 |
--- a/app-i18n/canna/files/canna-respect-flags.patch |
19 |
+++ b/app-i18n/canna/files/canna-respect-flags.patch |
20 |
@@ -1,5 +1,16 @@ |
21 |
---- /var/tmp/portage/app-i18n/canna-3.7_p3-r4/work/Canna37p3/canuum/Imakefile |
22 |
-+++ Canna37p3/canuum/Imakefile |
23 |
+--- a/Canna.conf |
24 |
++++ b/Canna.conf |
25 |
+@@ -548,7 +548,7 @@ |
26 |
+ Concat3(lib,libname,.dll): solist @@\ |
27 |
+ RemoveFile(LibraryTargetName(libname)) @@\ |
28 |
+ RemoveFile(Concat3(lib,libname,.dll)) @@\ |
29 |
+- gcc -shared -nostartfiles -Wl,--out-implib=Concat(lib,libname.a) -o Concat3(lib,libname,.dll) solist $(REQUIREDLIBS) @@\ |
30 |
++ $(CC) $(CFLAGS) $(LDFLAGS) -shared -nostartfiles -Wl,--out-implib=Concat(lib,libname.a) -o Concat3(lib,libname,.dll) solist $(REQUIREDLIBS) @@\ |
31 |
+ @@\ |
32 |
+ clean:: @@\ |
33 |
+ RemoveFile(LibraryTargetName(libname)) @@\ |
34 |
+--- a/canuum/Imakefile |
35 |
++++ b/canuum/Imakefile |
36 |
@@ -51,6 +51,8 @@ |
37 |
$(CONFIGURE_CMD) |
38 |
XCOMM Invoked from confwrapper |
39 |
@@ -11,8 +22,8 @@ |
40 |
+ $(CANNAROOT)/confwrapper mkenv AR $(AR) >> $@ |
41 |
$(CANNAROOT)/confwrapper mkenv CFLAGS $(PURE_CFLAGS) >> $@ |
42 |
+ $(CANNAROOT)/confwrapper mkenv LDFLAGS $(LDFLAGS) >> $@ |
43 |
---- /var/tmp/portage/app-i18n/canna-3.7_p3-r4/work/Canna37p3/Imakefile |
44 |
-+++ Canna37p3/Imakefile |
45 |
+--- a/Imakefile |
46 |
++++ b/Imakefile |
47 |
@@ -117,9 +117,11 @@ |
48 |
$(CONFIGURE_CMD) |
49 |
XCOMM Invoked from confwrapper |