• 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/0004-Automatically-generate-XDR-header-files-from-.x-sour.patch
Yann E. MORINYann E. MORIN committed f44f95dd98014 Jun 2015
Raw file
Source viewDiff to previous
-extern "C" rpcb_rmtcallres * rpcbproc_indirect_4_svc(rpcb_rmtcallargs *, struct svc_req *);
 
1
From eba198c27f2b8d3f0b27ea4a42f3dc79d397440c Mon Sep 17 00:00:00 2001
2
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3
Date: Sat, 10 Nov 2012 17:29:53 +0100
4
Subject: [PATCH] Automatically generate XDR header files from .x sources using
5
 rpcgen
6
​
7
[Gustavo: update after dropping non-IPv6 support]
8
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9
[yann.morin.1998@free.fr: update for 0.3.1]
10
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
11
---
12
 Makefile.am           |  19 +-
13
 src/Makefile.am       |   2 +-
14
 tirpc/rpc/rpcb_prot.h | 797 --------------------------------------------------
15
 tirpc/rpcsvc/crypt.h  | 109 -------
16
 4 files changed, 17 insertions(+), 910 deletions(-)
17
 delete mode 100644 tirpc/rpc/rpcb_prot.h
18
 delete mode 100644 tirpc/rpcsvc/crypt.h
19
​
20
diff --git a/Makefile.am b/Makefile.am
21
index 8558289..aa5908e 100644
22
--- a/Makefile.am
23
+++ b/Makefile.am
24
@@ -1,6 +1,9 @@
25
 SUBDIRS = src man doc rpcgen
26
 ACLOCAL_AMFLAGS = -I m4
27
 
28
+GENFILES          = tirpc/rpcsvc/crypt.h \
29
+            tirpc/rpc/rpcb_prot.h
30
+
31
 noinst_HEADERS        = tirpc/reentrant.h \
32
             tirpc/getpeereid.h \
33
             tirpc/libc_private.h \
34
@@ -8,7 +11,6 @@ noinst_HEADERS        = tirpc/reentrant.h \
35
 
36
 nobase_include_HEADERS = tirpc/netconfig.h \
37
             tirpc/rpcsvc/crypt.x \
38
-            tirpc/rpcsvc/crypt.h \
39
             tirpc/rpc/xdr.h \
40
             tirpc/rpc/types.h \
41
             tirpc/rpc/svc_soc.h \
42
@@ -20,7 +22,6 @@ nobase_include_HEADERS = tirpc/netconfig.h \
43
             tirpc/rpc/rpcent.h \
44
             tirpc/rpc/rpc_com.h \
45
             tirpc/rpc/rpcb_prot.x \
46
-            tirpc/rpc/rpcb_prot.h \
47
             tirpc/rpc/rpcb_clnt.h \
48
             tirpc/rpc/raw.h \
49
             tirpc/rpc/pmap_rmt.h \
50
@@ -51,5 +52,17 @@ endif
51
 pkgconfigdir=$(libdir)/pkgconfig
52
 pkgconfig_DATA = libtirpc.pc
53
 
54
-CLEANFILES        = cscope.* *~
55
+nobase_nodist_include_HEADERS = $(GENFILES)
56
+BUILT_SOURCES = $(GENFILES)
57
+
58
+$(GENFILES): %.h: %.x $(top_builddir)/rpcgen/rpcgen
59
+   mkdir -p $(dir $@)
60
+   $(top_builddir)/rpcgen/rpcgen -h -o $@ $<
61
+
62
+$(top_builddir)/rpcgen/rpcgen: force
63
+   cd rpcgen && $(MAKE)
  • 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.