Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
libpkg: fix ABI on FreeBSD
Kyle Evans committed 6 years ago
commit f2baea025bcc4418c36ce0a7985cd72b6f345a40
parent 6f4d6c5
1 file changed +1 -1
modified libpkg/pkg_elf.c
@@ -803,7 +803,7 @@ elf_note_analyse(Elf_Data *data, GElf_Ehdr *elfhdr, struct os_info *oi)
#else
		xasprintf(&oi->version_major, "%d", version / 100000);
		xasprintf(&oi->version_minor, "%d", (((version / 100 % 1000)+1)/2)*2);
-
		xasprintf(&oi->version, "%d.%d", version / 100000, (((version / 100 % 1000)+1)/2)*2);
+
		xasprintf(&oi->version, "%d", version / 100000);
#endif
	}