Skip to contentSkip to conversation

nfs-utils: reformat patch set as git patches

Buildroot Peter Korsgaard 1 participant 1 message Nov 14, 2012

lore
Share & tools
lore
#0 lore raw

commit: http://git.buildroot.net/buildroot/commit/?id=9f0c314674cb8f9d79d30540359d1df7f564d37e
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

As we will need to add more patches to nfs-utils, we need a correct ordering when applying patches. Therefore, reformat the patches to use a git format and git naming.

The nfs-utils-dont-mix-flags.patch is no longer needed as it was patching Makefile.in files that were being regenerated due to the package having _AUTORECONF = YES. The Makefile.in are properly regenerated thanks to the nfs-utils-0002-Patch-taken-from-Gentoo.patch patch.

---
 ...-AM_CONDITIONAL-in-conditional-execution.patch} |    9 +-
 ...> nfs-utils-0002-Patch-taken-from-Gentoo.patch} |   22 ++-
 ...-Switch-legacy-index-in-favour-of-strchr.patch} |   44 ++-
 ... => nfs-utils-0004-fix-build-with-uClibc.patch} |   16 +-
 package/nfs-utils/nfs-utils-dont-mix-flags.patch   |  288 --------------------
 5 files changed, 63 insertions(+), 316 deletions(-)
package/nfs-utils/nfs-utils-0001-build-avoid-AM_CONDITIONAL-in-conditional-execution.patch renamed from package/nfs-utils/nfs-utils-conditionals.patch +4 -5
similarity index 89%
rename from package/nfs-utils/nfs-utils-conditionals.patch
rename to package/nfs-utils/nfs-utils-0001-build-avoid-AM_CONDITIONAL-in-conditional-execution.patch
index a2342b3..ba9ad42 100644
@@ -1,8 +1,7 @@
-From 869d37a16d1e409cedd95b03cea29a6db65f9276 Mon Sep 17 00:00:00 2001
+From 2a44ed7558f981e15db58dcda799ff7cd3827a6e Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <[email protected]>
 Date: Thu, 17 May 2012 16:26:44 -0700
-Subject: [nfs-utils PATCH] build: avoid AM_CONDITIONAL in conditional
- execution.
+Subject: [PATCH] build: avoid AM_CONDITIONAL in conditional execution.
 MIME-Version: 1.0
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: 8bit
@@ -20,7 +19,7 @@ Signed-off-by: Diego Elio Petten?? <[email protected]>
 ---
  aclocal/libsqlite3.m4 |    1 -
  configure.ac          |    3 +--
- 2 files changed, 1 insertions(+), 3 deletions(-)
+ 2 files changed, 1 insertion(+), 3 deletions(-)
 
 diff --git a/aclocal/libsqlite3.m4 b/aclocal/libsqlite3.m4
 index 73d1e46..8c38993 100644
@@ -54,5 +53,5 @@ index 9ba53e2..b408f1b 100644
  
  
 -- 
-1.7.8.6
+1.7.9.5
 
package/nfs-utils/nfs-utils-0002-Patch-taken-from-Gentoo.patch renamed from package/nfs-utils/nfs-utils-cross-build.patch +19 -3
similarity index 69%
rename from package/nfs-utils/nfs-utils-cross-build.patch
rename to package/nfs-utils/nfs-utils-0002-Patch-taken-from-Gentoo.patch
index 43928bf..e310c49 100644
@@ -1,7 +1,17 @@
-Patch taken from Gentoo.
+From 971389625c9602085d399d8ae7fc42b75efcfb7c Mon Sep 17 00:00:00 2001
+From: Gustavo Zacarias <[email protected]>
+Date: Sat, 10 Nov 2012 18:56:12 +0100
+Subject: [PATCH] Patch taken from Gentoo
 
 Signed-off-by: Gustavo Zacarias <[email protected]>
+---
+ tools/locktest/Makefile.am |    7 +++----
+ tools/rpcdebug/Makefile.am |    7 +++----
+ tools/rpcgen/Makefile.am   |    8 +++-----
+ 3 files changed, 9 insertions(+), 13 deletions(-)
 
+diff --git a/tools/locktest/Makefile.am b/tools/locktest/Makefile.am
+index 3156815..efe6fcd 100644
 --- a/tools/locktest/Makefile.am
 +++ b/tools/locktest/Makefile.am
 @@ -1,12 +1,11 @@
@@ -20,6 +30,8 @@ Signed-off-by: Gustavo Zacarias <[email protected]>
 -testlk_LDFLAGS=$(LDFLAGS_FOR_BUILD)
  
  MAINTAINERCLEANFILES = Makefile.in
+diff --git a/tools/rpcdebug/Makefile.am b/tools/rpcdebug/Makefile.am
+index 39b70c9..0056597 100644
 --- a/tools/rpcdebug/Makefile.am
 +++ b/tools/rpcdebug/Makefile.am
 @@ -1,15 +1,14 @@
@@ -41,6 +53,8 @@ Signed-off-by: Gustavo Zacarias <[email protected]>
 -rpcdebug_LDFLAGS=$(LDFLAGS_FOR_BUILD)
  
  MAINTAINERCLEANFILES = Makefile.in
+diff --git a/tools/rpcgen/Makefile.am b/tools/rpcgen/Makefile.am
+index 8a9ec89..5a5b4d3 100644
 --- a/tools/rpcgen/Makefile.am
 +++ b/tools/rpcgen/Makefile.am
 @@ -1,7 +1,9 @@
@@ -54,7 +68,7 @@ Signed-off-by: Gustavo Zacarias <[email protected]>
  
  noinst_PROGRAMS = rpcgen
  rpcgen_SOURCES = rpc_clntout.c rpc_cout.c rpc_hout.c rpc_main.c \
-@@ -9,10 +11,6 @@
+@@ -9,10 +11,6 @@ rpcgen_SOURCES = rpc_clntout.c rpc_cout.c rpc_hout.c rpc_main.c \
  		 rpc_util.c rpc_sample.c rpc_output.h rpc_parse.h \
  		 rpc_scan.h rpc_util.h
  
@@ -65,4 +79,6 @@ Signed-off-by: Gustavo Zacarias <[email protected]>
  
  MAINTAINERCLEANFILES = Makefile.in
  
- EXTRA_DIST = rpcgen.new.1
+-- 
+1.7.9.5
+
package/nfs-utils/nfs-utils-0003-Switch-legacy-index-in-favour-of-strchr.patch renamed from package/nfs-utils/nfs-utils-susv3-legacy.patch +29 -15

77 lines not on this page · raw message

package/nfs-utils/nfs-utils-0004-fix-build-with-uClibc.patch renamed from package/nfs-utils/nfs-utils-uclibc-libio.h.patch +11 -5
similarity index 56%
rename from package/nfs-utils/nfs-utils-uclibc-libio.h.patch
rename to package/nfs-utils/nfs-utils-0004-fix-build-with-uClibc.patch
index 589b96f..23da28f 100644
@@ -1,4 +1,7 @@
-[PATCH] fix build with uClibc
+From ff82d4c89d6ca771dea06bbaa06ddf3fed760402 Mon Sep 17 00:00:00 2001
+From: Peter Korsgaard <[email protected]>
+Date: Sat, 10 Nov 2012 18:58:48 +0100
+Subject: [PATCH] fix build with uClibc
 
 uClibc doesn't have/need libio.h, so don't include it from sockaddr.h
 
@@ -7,10 +10,10 @@ Signed-off-by: Peter Korsgaard <[email protected]>
  support/include/sockaddr.h |    5 ++++-
  1 file changed, 4 insertions(+), 1 deletion(-)
 
-Index: nfs-utils-1.2.3/support/include/sockaddr.h
-===================================================================
---- nfs-utils-1.2.3.orig/support/include/sockaddr.h
-+++ nfs-utils-1.2.3/support/include/sockaddr.h
+diff --git a/support/include/sockaddr.h b/support/include/sockaddr.h
+index 9af2543..5eef2ec 100644
+--- a/support/include/sockaddr.h
++++ b/support/include/sockaddr.h
 @@ -20,7 +20,10 @@
  #ifndef NFS_UTILS_SOCKADDR_H
  #define NFS_UTILS_SOCKADDR_H
@@ -23,3 +26,6 @@ Index: nfs-utils-1.2.3/support/include/sockaddr.h
  #include <stdbool.h>
  #include <sys/socket.h>
  #include <netinet/in.h>
+-- 
+1.7.9.5
+
package/nfs-utils/nfs-utils-dont-mix-flags.patch deleted +0 -288

288 lines not on this page · raw message