Skip to contentSkip to conversation

stop exporting PATCH_GET = "0"

PATCH New Andre McCurdy 1 participant 4 messages Jan 28, 2016

lore
Share & tools
lore
#0 lore raw

cover stop exporting PATCH_GET = "0"

Andre McCurdy (3):
bitbake.conf: stop exporting PATCH_GET = "0" gcc-cross.inc: drop pruning of PATCH_GET from the testgcc script glibc-testing.inc: drop pruning of PATCH_GET from the testglibc script

 meta/conf/bitbake.conf                    | 10 ----------
 meta/recipes-core/glibc/glibc-testing.inc |  1 -
 meta/recipes-devtools/gcc/gcc-cross.inc   |  1 -
 3 files changed, 12 deletions(-)
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/3 bitbake.conf: stop exporting PATCH_GET = "0"

Exporting PATCH_GET = "0" has been redundant since patch 2.6.0 was released in 2009:

http://git.savannah.gnu.org/cgit/patch.git/commit/?id=b008dece18e6b94b8a13ea44a253855bf407ed01

Host distros which shipped with patch 2.5.x (e.g. Centos 5) are no longer supported, so this export can be retired from bitbake.conf.

---
 meta/conf/bitbake.conf | 10 ----------
 1 file changed, 10 deletions(-)
meta/conf/bitbake.conf +0 -10
index e80ee18..1a2f420 100644
@@ -629,16 +629,6 @@ FAKEROOTDIRS = "${PSEUDO_LOCALSTATEDIR}"
 PREFERRED_PROVIDER_virtual/fakeroot-native ?= "pseudo-native"
 
 ##################################################################
-# Miscellaneous utilities.
-##################################################################
-
-# GNU patch tries to be intellgent about checking out read-only files from
-# a RCS, which freaks out those special folks with active Perforce clients
-# the following makes patch ignore RCS:
-
-export PATCH_GET="0"
-
-##################################################################
 # Not sure about the rest of this yet.
 ##################################################################
 
Signature · 1 line
1.9.1
#2 lore raw

PATCH 2/3 gcc-cross.inc: drop pruning of PATCH_GET from the testgcc script

In reply to Andre McCurdy

PATCH_GET is no longer exported by bitbake.conf, so no longer needs to be pruned from the gcc-cross do_compile() environment.

---
 meta/recipes-devtools/gcc/gcc-cross.inc | 1 -
 1 file changed, 1 deletion(-)
meta/recipes-devtools/gcc/gcc-cross.inc +0 -1
index aa10633..f479360 100644
@@ -72,7 +72,6 @@ do_compile () {
 	sed -i -e "/^'/d" ${B}/${TARGET_PREFIX}testgcc
 	sed -i -e "/^UID/d" ${B}/${TARGET_PREFIX}testgcc
 	sed -i -e "/^TERM/d" ${B}/${TARGET_PREFIX}testgcc
-	sed -i -e "/^PATCH_GET/d" ${B}/${TARGET_PREFIX}testgcc
 	sed -i -e "/^PKG_/d" ${B}/${TARGET_PREFIX}testgcc
 	sed -i -e "/^POSIXLY_/d" ${B}/${TARGET_PREFIX}testgcc
 	sed -i -e "/^PPID/d" ${B}/${TARGET_PREFIX}testgcc
Signature · 1 line
1.9.1
#3 lore raw

PATCH 3/3 glibc-testing.inc: drop pruning of PATCH_GET from the testglibc script

In reply to Andre McCurdy

PATCH_GET is no longer exported by bitbake.conf, so no longer needs to be pruned from the glibc do_compile() environment.

---
 meta/recipes-core/glibc/glibc-testing.inc | 1 -
 1 file changed, 1 deletion(-)
meta/recipes-core/glibc/glibc-testing.inc +0 -1
index a9bbf37..0a42ae7 100644
@@ -22,7 +22,6 @@ do_compile_append () {
 	sed -i -e "/^'/d" ${B}/${HOST_PREFIX}testglibc
 	sed -i -e "/^UID/d" ${B}/${HOST_PREFIX}testglibc
 	sed -i -e "/^TERM/d" ${B}/${HOST_PREFIX}testglibc
-	sed -i -e "/^PATCH_GET/d" ${B}/${HOST_PREFIX}testglibc
 	sed -i -e "/^PKG_/d" ${B}/${HOST_PREFIX}testglibc
 	sed -i -e "/^POSIXLY_/d" ${B}/${HOST_PREFIX}testglibc
 	sed -i -e "/^PPID/d" ${B}/${HOST_PREFIX}testglibc
Signature · 1 line
1.9.1