anchor.diff:  
   inherit mozilla
   require firefox.inc
  +
  +do_unpack2() {
  +	cp -pPr ${WORKDIR}/js/src* ${S}/js/
  +}
   
   do_compile_prepend() {
   	cp ${WORKDIR}/jsautocfg.h ${S}/js/src/
  
positive.code: 	file://Bug405992.atomic.nspr.diff;patch=1 \
  	file://random_to_urandom.diff;patch=1 \
  	file://jemalloc-tls.patch;patch=1 \
  "
  
  S = "${WORKDIR}/mozilla"
  
negative.code:         # removes 2 lines that call absent headers
          sed -e '178,179d' ${STAGING_INCDIR}/firefox-${PV}/nsIServiceManager.h
  }
  
  addtask unpack2 after do_unpack before do_patch
  