diff options
| author | Petr Vaněk <arkamar@atlas.cz> | 2022-07-29 13:54:22 +0200 |
|---|---|---|
| committer | Joonas Niilola <juippis@gentoo.org> | 2022-08-18 10:06:18 +0300 |
| commit | 3d84addb0089529e1b6ef37cb19db59eb63a02cf (patch) | |
| tree | 8e631dcc8b95b731b2b087a0897a2e30f86e3ef5 /dev-libs/json-parser/files | |
| parent | c2b7dd2966a0ffa122db92865ed4b9962f4627a7 (diff) | |
| download | gentoo-3d84addb0089529e1b6ef37cb19db59eb63a02cf.tar.gz gentoo-3d84addb0089529e1b6ef37cb19db59eb63a02cf.tar.bz2 gentoo-3d84addb0089529e1b6ef37cb19db59eb63a02cf.zip | |
dev-libs/json-parser: new package, add 1.1.0_p20211208
Original version 1.1.0 is from a year 2014, which is quite old. The
snapshot is from latest commit 531a49062975 ("Add author of #154 to
AUTHORS") in master branch, which contains (among others) two fixes
related to strict aliasing. New release is anticipated [1], but it is
not clear when it will happen, as the ticket is open for 2 years
already.
It was necessary to apply one patch proposed as PR [2] to upstream,
which changes pkgconfig file installation path from datadir to libdir.
This library is currently known to be bundled in multiple packages in
::gentoo, see the corresponding bugs bellow.
[1] https://github.com/json-parser/json-parser/issues/82
[2] https://github.com/json-parser/json-parser/pull/164
Bug: https://bugs.gentoo.org/858524
Bug: https://bugs.gentoo.org/861143
Bug: https://bugs.gentoo.org/861371
Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs/json-parser/files')
| -rw-r--r-- | dev-libs/json-parser/files/json-parser-1.1.0-pkgconfig-libdir.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-libs/json-parser/files/json-parser-1.1.0-pkgconfig-libdir.patch b/dev-libs/json-parser/files/json-parser-1.1.0-pkgconfig-libdir.patch new file mode 100644 index 000000000000..094f8f985dec --- /dev/null +++ b/dev-libs/json-parser/files/json-parser-1.1.0-pkgconfig-libdir.patch @@ -0,0 +1,22 @@ +Upstream-PR: https://github.com/json-parser/json-parser/pull/164 + +diff --git a/Makefile.in b/Makefile.in +index 8938230..b7539f7 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -43,9 +43,9 @@ clean: + rm -f libjsonparser.$(SO_EXT) libjsonparser.a json.o + + install-shared: libjsonparser.$(SO_EXT) +- @echo Installing pkgconfig module: $(datadir)/pkgconfig/json-parser.pc +- @install -d $(datadir)/pkgconfig/ || true +- @install -m 0644 json-parser.pc $(datadir)/pkgconfig/json-parser.pc ++ @echo Installing pkgconfig module: $(libdir)/pkgconfig/json-parser.pc ++ @install -d $(libdir)/pkgconfig/ || true ++ @install -m 0644 json-parser.pc $(libdir)/pkgconfig/json-parser.pc + @echo Installing shared library: $(libdir)/libjsonparser.$(SO_EXT) + @install -d $(libdir) || true + @install -m 0755 libjsonparser.$(SO_EXT) $(libdir)/$(REAL_NAME) +-- +2.35.1 + |
