diff options
author | wiz <wiz@pkgsrc.org> | 2016-04-15 08:26:26 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2016-04-15 08:26:26 +0000 |
commit | e7814f9ab63f96cf5ab68ba827bfba4e62abda2a (patch) | |
tree | 7252e2cc3f1116696c019829595e167c426a4b8a /devel | |
parent | f4f6b36c22c01846f4410c317ee91dc92d976cfa (diff) | |
download | pkgsrc-e7814f9ab63f96cf5ab68ba827bfba4e62abda2a.tar.gz |
Add upstream patch fixing the build of libetonyek.
Bump PKGREVISION.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/liblangtag/Makefile | 3 | ||||
-rw-r--r-- | devel/liblangtag/distinfo | 3 | ||||
-rw-r--r-- | devel/liblangtag/patches/patch-liblangtag_lt-tag.h | 53 |
3 files changed, 57 insertions, 2 deletions
diff --git a/devel/liblangtag/Makefile b/devel/liblangtag/Makefile index cbc7b616313..fecd78dceb9 100644 --- a/devel/liblangtag/Makefile +++ b/devel/liblangtag/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.10 2016/04/14 13:37:19 wiz Exp $ +# $NetBSD: Makefile,v 1.11 2016/04/15 08:26:26 wiz Exp $ DISTNAME= liblangtag-0.6.0 +PKGREVISION= 1 CATEGORIES= devel MASTER_SITES= https://bitbucket.org/tagoh/liblangtag/downloads/ EXTRACT_SUFX= .tar.bz2 diff --git a/devel/liblangtag/distinfo b/devel/liblangtag/distinfo index 1c7bc18db11..e622582d459 100644 --- a/devel/liblangtag/distinfo +++ b/devel/liblangtag/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.11 2016/04/14 13:37:19 wiz Exp $ +$NetBSD: distinfo,v 1.12 2016/04/15 08:26:26 wiz Exp $ SHA1 (liblangtag-0.6.0.tar.bz2) = ce312505d13ac62aa86c205256cc000569784951 RMD160 (liblangtag-0.6.0.tar.bz2) = 9cf57d17fcf5a03774c8a55b91b1d84fa1478c71 SHA512 (liblangtag-0.6.0.tar.bz2) = d6a2e38e11a5413408fffc1f8defc2a556a3a4b73538d01592ba7a3cad9768c52a030103893c8924f02328edc3f62a232c5efc1d74ddb41f41b146d8a9f0df27 Size (liblangtag-0.6.0.tar.bz2) = 760974 bytes +SHA1 (patch-liblangtag_lt-tag.h) = 7c97940c062bd811e474211a40a44f49536ff502 diff --git a/devel/liblangtag/patches/patch-liblangtag_lt-tag.h b/devel/liblangtag/patches/patch-liblangtag_lt-tag.h new file mode 100644 index 00000000000..b2c4519e4a3 --- /dev/null +++ b/devel/liblangtag/patches/patch-liblangtag_lt-tag.h @@ -0,0 +1,53 @@ +$NetBSD: patch-liblangtag_lt-tag.h,v 1.1 2016/04/15 08:26:26 wiz Exp $ + +From 3cc56cf32c006e7e8445c3ba49ffc128c646c88d Mon Sep 17 00:00:00 2001 +From: David Tardon <dtardon@redhat.com> +Date: Wed, 23 Mar 2016 14:07:48 +0100 +Subject: [PATCH] enum must be declared before it's used + +--- + liblangtag/lt-tag.h | 26 +++++++++++++------------- + 1 file changed, 13 insertions(+), 13 deletions(-) + +--- liblangtag/lt-tag.h.orig 2016-03-23 02:58:27.000000000 +0000 ++++ liblangtag/lt-tag.h +@@ -37,6 +37,19 @@ LT_BEGIN_DECLS + */ + typedef struct _lt_tag_t lt_tag_t; + ++enum _lt_tag_filter_t { ++ LT_TAG_FILTER_NONE = 0, ++ LT_TAG_FILTER_LANGUAGE = 1 << 0, ++ LT_TAG_FILTER_EXTLANG = 1 << 1, ++ LT_TAG_FILTER_SCRIPT = 1 << 2, ++ LT_TAG_FILTER_REGION = 1 << 3, ++ LT_TAG_FILTER_VARIANT = 1 << 4, ++ LT_TAG_FILTER_EXTENSION = 1 << 5, ++ LT_TAG_FILTER_PRIVATEUSE = 1 << 6, ++ LT_TAG_FILTER_GRANDFATHERED = 1 << 7, ++ LT_TAG_FILTER_ALL = -1 ++}; ++ + /** + * lt_tag_filter_t: + * @LT_TAG_FILTER_NONE: all of objects filtered. +@@ -55,19 +68,6 @@ typedef struct _lt_tag_t lt_tag_t; + */ + typedef enum _lt_tag_filter_t lt_tag_filter_t; + +-enum _lt_tag_filter_t { +- LT_TAG_FILTER_NONE = 0, +- LT_TAG_FILTER_LANGUAGE = 1 << 0, +- LT_TAG_FILTER_EXTLANG = 1 << 1, +- LT_TAG_FILTER_SCRIPT = 1 << 2, +- LT_TAG_FILTER_REGION = 1 << 3, +- LT_TAG_FILTER_VARIANT = 1 << 4, +- LT_TAG_FILTER_EXTENSION = 1 << 5, +- LT_TAG_FILTER_PRIVATEUSE = 1 << 6, +- LT_TAG_FILTER_GRANDFATHERED = 1 << 7, +- LT_TAG_FILTER_ALL = -1 +-}; +- + lt_tag_t *lt_tag_new (void); + lt_tag_t *lt_tag_ref (lt_tag_t *tag); + void lt_tag_unref (lt_tag_t *tag); |