From 622ca02bc1452ef99001d685b9190049ca221c88 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Mon, 27 Jun 2011 03:49:12 +0200 Subject: [PATCH] Add package attribute for compatible version --- headers/os/package/hpkg/HPKGDefs.h | 1 + src/kits/package/hpkg/PackageContentHandler.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/headers/os/package/hpkg/HPKGDefs.h b/headers/os/package/hpkg/HPKGDefs.h index aee8d9406f..2ea360e044 100644 --- a/headers/os/package/hpkg/HPKGDefs.h +++ b/headers/os/package/hpkg/HPKGDefs.h @@ -111,6 +111,7 @@ enum BHPKGAttributeID { B_HPKG_ATTRIBUTE_ID_PACKAGE_RESOLVABLE_OPERATOR = 38, B_HPKG_ATTRIBUTE_ID_PACKAGE_CHECKSUM = 39, B_HPKG_ATTRIBUTE_ID_PACKAGE_VERSION_PRE_RELEASE = 40, + B_HPKG_ATTRIBUTE_ID_PACKAGE_PROVIDES_COMPATIBLE = 41, // B_HPKG_ATTRIBUTE_ID_ENUM_COUNT, }; diff --git a/src/kits/package/hpkg/PackageContentHandler.cpp b/src/kits/package/hpkg/PackageContentHandler.cpp index 8dc47c2a92..8abfc1d996 100644 --- a/src/kits/package/hpkg/PackageContentHandler.cpp +++ b/src/kits/package/hpkg/PackageContentHandler.cpp @@ -57,6 +57,7 @@ static const char* kAttributeNames[B_HPKG_ATTRIBUTE_ID_ENUM_COUNT + 1] = { "package:resolvable.operator", "package:checksum", "package:version.prerelease", + "package:provides.compatible", NULL };