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

Collapse All | Expand All

(-)fixlafiles.awk.orig (+16 lines)
Lines 181-186 Link Here
181
	if ((OLDVER == NEWVER) && (OLDCHOST == ""))
181
	if ((OLDVER == NEWVER) && (OLDCHOST == ""))
182
		exit 0
182
		exit 0
183
183
184
	# This is a counter for the array of modified .la files
185
	CHANGED_COUNT = 0
186
184
	#
187
	#
185
	# Ok, now let's scan for the .la files and actually fix them up
188
	# Ok, now let's scan for the .la files and actually fix them up
186
	#
189
	#
Lines 298-303 Link Here
298
301
299
				if (CHANGED)
302
				if (CHANGED)
300
					print "]"
303
					print "]"
304
					CHANGED_FILES[++CHANGED_COUNT] = la_files
301
305
302
				close(la_files)
306
				close(la_files)
303
				close(la_files ".new")
307
				close(la_files ".new")
Lines 309-314 Link Here
309
313
310
		close(pipe)
314
		close(pipe)
311
	}
315
	}
316
317
	#
318
	# Now, record the updated .la files mtime/md5 in their package CONTENTS
319
	# 
320
	if (CHANGED_COUNT)
321
		einfo("Updating CONTENTS of packages owning the modified .la files")
322
		pipe = "fix_contents -q -s"
323
		for (x = CHANGED_COUNT; x > 0; x--) {
324
			print CHANGED_FILES[x] | pipe
325
		}
326
		close(pipe)
327
312
}
328
}
313
329
314
# vim:ts=4
330
# vim:ts=4

Return to bug 71265