mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
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>
23 lines
844 B
Diff
23 lines
844 B
Diff
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
|
|
|