• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/libtirpc/0002-uClibc-without-RPC-support-and-musl-does-not-install-rpcent.h.patch
Jörg KrauseJörg Krause committed 633d3320c1623 Jul 2015
Raw file
Source viewDiff to previous
 
1
From 7aa1fe6a0f9280571117c30c03c2cc521cd86ec3 Mon Sep 17 00:00:00 2001
2
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3
Date: Sat, 23 Jun 2012 21:58:07 +0200
4
Subject: [PATCH] uClibc without RPC support and musl does not install rpcent.h
5
​
6
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7
[yann.morin.1998@free.fr: update for 0.3.1]
8
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9
[joerg.krause@embedded.rocks: musl fix]
10
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
11
---
12
 tirpc/rpc/rpcent.h | 5 +++--
13
 1 file changed, 3 insertions(+), 2 deletions(-)
14
​
15
diff --git a/tirpc/rpc/rpcent.h b/tirpc/rpc/rpcent.h
16
index 147f909..4a58180 100644
17
--- a/tirpc/rpc/rpcent.h
18
+++ b/tirpc/rpc/rpcent.h
19
@@ -48,8 +48,9 @@
20
 extern "C" {
21
 #endif
22
 
23
-/* These are defined in /usr/include/rpc/netdb.h */
24
-#if !defined(__GLIBC__)
25
+/* These are defined in /usr/include/rpc/netdb.h, unless we are using
26
+   the C library without RPC support. */
27
+#if defined(__UCLIBC__) && !defined(__UCLIBC_HAS_RPC__) || !defined(__GLIBC__)
28
 struct rpcent {
29
    char    *r_name;    /* name of server for this rpc program */
30
    char    **r_aliases;    /* alias list */
31
-- 
32
1.9.1
33
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.