diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-05-31 17:14:11 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-05-31 17:14:11 +0000 |
commit | f941a08dcf4593247200a0c0f29b850905fc4d8f (patch) | |
tree | 16aca6449351eeccd33875e467bf42efe65369af /ports-mgmt | |
parent | New port: www/p5-Dancer-Logger-Log4perl (diff) |
Fix segfault on current when binary installing packages
Reported by: Nikolai Lifanov <lifanov@mail.lifanov.com>
Notes
Notes:
svn path=/head/; revision=319539
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/pkg-devel/Makefile | 1 | ||||
-rw-r--r-- | ports-mgmt/pkg-devel/files/patch-fix-valid-packages | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/ports-mgmt/pkg-devel/Makefile b/ports-mgmt/pkg-devel/Makefile index 83293e5bae80..e620331ce705 100644 --- a/ports-mgmt/pkg-devel/Makefile +++ b/ports-mgmt/pkg-devel/Makefile @@ -2,6 +2,7 @@ PORTNAME= pkg DISTVERSION= 1.1.0.b3 +PORTREVISION= 1 CATEGORIES= ports-mgmt MASTER_SITES= http://files.etoilebsd.net/pkg/ \ http://mirror.shatow.net/freebsd/${PORTNAME}/ \ diff --git a/ports-mgmt/pkg-devel/files/patch-fix-valid-packages b/ports-mgmt/pkg-devel/files/patch-fix-valid-packages new file mode 100644 index 000000000000..2609b15a7321 --- /dev/null +++ b/ports-mgmt/pkg-devel/files/patch-fix-valid-packages @@ -0,0 +1,14 @@ +diff --git libpkg/pkg.c libpkg/pkg.c +index e77138c..3168c0f 100644 +--- libpkg/pkg.c ++++ libpkg/pkg.c +@@ -59,7 +59,8 @@ static struct _fields { + [PKG_OLD_VERSION] = {"oldversion", PKG_REMOTE, 1}, + [PKG_REPONAME] = {"reponame", PKG_REMOTE, 1}, + [PKG_REPOURL] = {"repourl", PKG_REMOTE, 1}, +- [PKG_DIGEST] = {"manifestdigest", PKG_REMOTE, 1} ++ [PKG_DIGEST] = {"manifestdigest", PKG_REMOTE, 1}, ++ [PKG_REASON] = "reason", PKG_REMOTE, 1} + }; + + int |