mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Fix alignement error making pkg repo segfaul on i386
Reported by: gjb, Ivan Klymenko <fidaj@ukr.net> (via ports@) Tested by: gjb Obtained from: pkgng git repository
This commit is contained in:
parent
6483bd6675
commit
0c571441dc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=300477
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= pkg
|
||||
DISTVERSION= 1.0-beta17
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= ports-mgmt
|
||||
MASTER_SITES= LOCAL/portmgr \
|
||||
http://files.etoilebsd.net/pkg/
|
||||
|
14
ports-mgmt/pkg/files/patch-libpkg__pkg_repo.c
Normal file
14
ports-mgmt/pkg/files/patch-libpkg__pkg_repo.c
Normal file
@ -0,0 +1,14 @@
|
||||
diff --git libpkg/pkg_repo.c libpkg/pkg_repo.c
|
||||
index d2ef999..d628850 100644
|
||||
--- libpkg/pkg_repo.c
|
||||
+++ libpkg/pkg_repo.c
|
||||
@@ -605,8 +605,7 @@ pkg_create_repo(char *path, bool force, void (progress)(struct pkg *pkg, void *d
|
||||
while ((ent = fts_read(fts)) != NULL) {
|
||||
const char *name, *version, *origin, *comment, *desc;
|
||||
const char *arch, *maintainer, *www, *prefix;
|
||||
- int64_t flatsize;
|
||||
- lic_t licenselogic;
|
||||
+ int64_t flatsize, licenselogic;
|
||||
|
||||
/* skip everything that is not a file */
|
||||
if (ent->fts_info != FTS_F)
|
Loading…
Reference in New Issue
Block a user