Revert "[rdkb][common][app][Fix ccsp-dhcp-mgr build fail in 64 bits]"
This reverts commit 677517216b0fe9f0cf186eb76ca5b23d81a17409.
Reason for revert: <upstream code base already fixed, so this commit will cause build fail >
Change-Id: Iab92fd507eea8376f0852975b265696ba359eda4
diff --git a/recipes-ccsp/ccsp/ccsp-dhcp-mgr.bbappend b/recipes-ccsp/ccsp/ccsp-dhcp-mgr.bbappend
index 810b9c6..890cb5b 100644
--- a/recipes-ccsp/ccsp/ccsp-dhcp-mgr.bbappend
+++ b/recipes-ccsp/ccsp/ccsp-dhcp-mgr.bbappend
@@ -1,19 +1,3 @@
require ccsp_common_filogic.inc
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
-
-SRC_URI_append = " \
- file://fix-64bit-build-issue.patch;apply=no \
-"
-
-do_filogic_patches() {
- cd ${S}
- if [ ! -e patch_applied ]; then
- patch -p1 < ${WORKDIR}/fix-64bit-build-issue.patch
- touch patch_applied
- fi
-}
-
-addtask filogic_patches after do_unpack before do_configure
-
EXTRA_OECONF_append = " --with-ccsp-arch=arm"
\ No newline at end of file
diff --git a/recipes-ccsp/ccsp/ccsp-dhcp-mgr/fix-64bit-build-issue.patch b/recipes-ccsp/ccsp/ccsp-dhcp-mgr/fix-64bit-build-issue.patch
deleted file mode 100644
index 45e22e7..0000000
--- a/recipes-ccsp/ccsp/ccsp-dhcp-mgr/fix-64bit-build-issue.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff --git a/source/DHCPClientUtils/DHCPv4Client/dhcp_client_common.c b/source/DHCPClientUtils/DHCPv4Client/dhcp_client_common.c
-index ee2778e..f389bcd 100644
---- a/source/DHCPClientUtils/DHCPv4Client/dhcp_client_common.c
-+++ b/source/DHCPClientUtils/DHCPv4Client/dhcp_client_common.c
-@@ -220,7 +220,7 @@ static int check_proc_entry_for_pid (char * name, char * args)
- if ((dent->d_type == DT_DIR) &&
- (SUCCESS == strtol64(dent->d_name, NULL, 10, &pid)))
- {
-- snprintf(filename, sizeof(filename), "/proc/%lld/stat", pid);
-+ snprintf(filename, sizeof(filename), "/proc/%lld/stat", (long long int) pid);
- fp = fopen(filename, "r");
- if (fp == NULL)
- {
-@@ -247,8 +247,8 @@ static int check_proc_entry_for_pid (char * name, char * args)
- if (args != NULL)
- {
- // argument to be verified before returning pid
-- DBG_PRINT("%s %d: %s running in pid %lld.. checking for cmdline param %s\n", __FUNCTION__, __LINE__, name, pid, args);
-- snprintf(filename, sizeof(filename), "/proc/%lld/cmdline", pid);
-+ DBG_PRINT("%s %d: %s running in pid %lld.. checking for cmdline param %s\n", __FUNCTION__, __LINE__, name, (long long int) pid, args);
-+ snprintf(filename, sizeof(filename), "/proc/%lld/cmdline", (long long int) pid);
- fp = fopen(filename, "r");
- if (fp == NULL)
- {