Skip to contentSkip to conversation

smbnetfs: refresh patch

PATCH New Hains van den Bosch 1 participant 1 message Mar 22, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 smbnetfs: refresh patch

WARNING: smbnetfs-git-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to incorrectly applied patches. The context lines in the patches can be updated with devtool:

devtool modify <recipe>
devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace) should be reviewed to make sure the patches apply in the correct place and don't introduce duplicate lines (which can, and does happen when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch Using-PKG_CHECK_MODULES-to-found-headers-and-libraries.patch patching file configure.ac
Hunk #1 succeeded at 119 with fuzz 2 (offset -6 lines). patching file src/Makefile.am
Hunk #1 succeeded at 17 (offset 1 line).

Now at patch Using-PKG_CHECK_MODULES-to-found-headers-and-libraries.patch

---
 ...ng-PKG_CHECK_MODULES-to-found-headers-and-libraries.patch | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs/Using-PKG_CHECK_MODULES-to-found-headers-and-libraries.patch +6 -6
index 371ab8982..6d60c9d22 100644
@@ -11,12 +11,12 @@ Signed-off-by: Bian Naimeng <[email protected]>
  2 files changed, 8 insertions(+)
 
 diff --git a/configure.ac b/configure.ac
-index ce21aef..ecd7119 100644
+index 4c03409..8d22e71 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -125,6 +125,11 @@ AC_CHECK_LIB(smbclient, smbc_setOptionUserData,
-     )]
- )
+@@ -119,6 +119,11 @@ AC_CHECK_LIB(smbclient, smbc_setOptionUseCCache, [], [
+ LIBS="$LIBS $SMBCLIENT_LIBS"
+ CFLAGS="$CFLAGS $SMBCLIENT_CFLAGS"
  
 +dnl *****************************************************************
 +dnl *** Check libsmbclient by pkgconfig to get cflags and ldflags ***
@@ -27,10 +27,10 @@ index ce21aef..ecd7119 100644
  dnl *** Final step ***
  dnl ******************
 diff --git a/src/Makefile.am b/src/Makefile.am
-index 41519d8..9fc97e9 100644
+index ccaa8c3..6598317 100644
 --- a/src/Makefile.am
 +++ b/src/Makefile.am
-@@ -16,3 +16,6 @@ smbnetfs_SOURCES = \
+@@ -17,3 +17,6 @@ smbnetfs_SOURCES = \
  	event.c			event.h			\
  	reconfigure.c		reconfigure.h		\
  	main.c
Signature · 1 line
2.15.1