• 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/libtirpc-0002-uClibc-without-RPC-support-does-not-install-rpcent.h.patch
Thomas PetazzoniThomas Petazzoni committed c54af0a294d10 Nov 2012
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
From c2e96bdc453334f10faf8db0eb06e41ab3ca4fe9 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 does not install rpcent.h
5
​
6
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7
---
8
 tirpc/rpc/rpcent.h |    5 +++--
9
 1 file changed, 3 insertions(+), 2 deletions(-)
10
​
11
diff --git a/tirpc/rpc/rpcent.h b/tirpc/rpc/rpcent.h
12
index 7fd93d9..8ce05ed 100644
13
--- a/tirpc/rpc/rpcent.h
14
+++ b/tirpc/rpc/rpcent.h
15
@@ -46,8 +46,9 @@
16
 
17
 __BEGIN_DECLS
18
 
19
-/* These are defined in /usr/include/rpc/netdb.h */
20
-#if 0
21
+/* These are defined in /usr/include/rpc/netdb.h, unless we are using
22
+   the C library without RPC support. */
23
+#if defined(__UCLIBC__) && !defined(__UCLIBC_HAS_RPC__)
24
 struct rpcent {
25
    char    *r_name;    /* name of server for this rpc program */
26
    char    **r_aliases;    /* alias list */
27
-- 
28
1.7.9.5
29
​
  • 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.