-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
59 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
musl defines id_t as unsigned but doesn't use the _ID_T to detect its | ||
definition. This causes the type to be redefined as an int by fakeroot | ||
which causes a compilation error. | ||
|
||
-- | ||
Taken from Alpine Linux ports. | ||
|
||
--- a/libfakeroot.c | ||
+++ b/libfakeroot.c | ||
@@ -133,13 +133,6 @@ | ||
#define INT_SEND_STAT(a,b) SEND_STAT(a,b,_STAT_VER) | ||
#define INT_SEND_GET_XATTR(a,b) SEND_GET_XATTR(a,b,_STAT_VER) | ||
#define INT_SEND_GET_STAT(a,b) SEND_GET_STAT(a,b) | ||
- | ||
-/* 10.10 uses id_t in getpriority/setpriority calls, so pretend | ||
- id_t is used everywhere, just happens to be int on some OSes */ | ||
-#ifndef _ID_T | ||
-#define _ID_T | ||
-typedef int id_t; | ||
-#endif | ||
#endif | ||
|
||
#include <sys/types.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters