Skip to content

Commit 738392b

Browse files
committed
overlay coreos/user-patches: Add a patch for app-arch/sharutils
1 parent c85e8a5 commit 738392b

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
diff -u3 -r sharutils-4.15.2/src/local.h sharutils-4.15.2-patched/src/local.h
2+
--- sharutils-4.15.2/src/local.h 2015-05-30 17:35:32.000000000 +0200
3+
+++ sharutils-4.15.2-patched/src/local.h 2024-11-28 20:18:51.360160618 +0100
4+
@@ -37,6 +37,7 @@
5+
#include "base64.h"
6+
#include "dirname.h"
7+
#include "error.h"
8+
+#include "gettext.h"
9+
#include "idcache.h"
10+
#include "inttostr.h"
11+
#include "locale.h"
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
`0000-gettext.patch` is for fixing a build with USE=-nls:
2+
3+
```
4+
uuencode.c: In function 'process_opts':
5+
uuencode.c:204:3: error: implicit declaration of function 'bindtextdomain' [-Wimplicit-function-declaration]
6+
204 | bindtextdomain (PACKAGE, LOCALEDIR);
7+
| ^~~~~~~~~~~~~~
8+
uuencode.c:205:3: error: implicit declaration of function 'textdomain' [-Wimplicit-function-declaration]
9+
205 | textdomain (PACKAGE);
10+
| ^~~~~~~~~~
11+
```
12+
13+
Should probably be upstreamed to sharutils and to Gentoo if it works.

0 commit comments

Comments
 (0)