Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 58848 | Differences between
and this patch

Collapse All | Expand All

(-)portage-2.0.51_pre20-orig/pym/portage.py (+11 lines)
Lines 6644-6649 Link Here
6644
					# old package won't yank the file with it. (non-cfgprot related)
6644
					# old package won't yank the file with it. (non-cfgprot related)
6645
					os.utime(myrealdest,(thismtime,thismtime))
6645
					os.utime(myrealdest,(thismtime,thismtime))
6646
					zing="---"
6646
					zing="---"
6647
				#alright, we've fooled w/ mytime.  need to update ar toc mtime's.
6648
				if self.settings["ARCH"] == "macos" and myrealdest[-2:] == ".a":
6649
					# insert the new mtime into the ar toc.
6650
					print "updating toc of %s" % myrealdest
6651
					myf=open(myrealdest,"a")
6652
					myf.seek(24,0)
6653
					myf.write(str(thismtime))
6654
					myf.close()
6655
					os.utime(myrealdest,(thismtime,thismtime))
6656
					mymd5=portage_md5.perform_md5(myrealdest)
6657
6647
				if mymtime!=None:
6658
				if mymtime!=None:
6648
					zing=">>>"
6659
					zing=">>>"
6649
					outfile.write("obj "+myrealdest+" "+mymd5+" "+str(mymtime)+"\n")
6660
					outfile.write("obj "+myrealdest+" "+mymd5+" "+str(mymtime)+"\n")

Return to bug 58848