<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot/package/json-c/Config.in, branch 2016.05</title>
<subtitle>OpenPOWER buildroot sources</subtitle>
<id>https://git.raptorcs.com/git/buildroot/atom?h=2016.05</id>
<link rel='self' href='https://git.raptorcs.com/git/buildroot/atom?h=2016.05'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/'/>
<updated>2016-02-06T10:16:00+00:00</updated>
<entry>
<title>json-c: needs __sync_val_compare_and_swap_4</title>
<updated>2016-02-06T10:16:00+00:00</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@free-electrons.com</email>
</author>
<published>2016-02-02T15:31:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=8ea392b84e3a02a7827fc3b97b541d3c41c83935'/>
<id>urn:sha1:8ea392b84e3a02a7827fc3b97b541d3c41c83935</id>
<content type='text'>
While json-c itself builds fine on platforms that don't provide the
__sync atomic built-ins, it does use them. json-c doesn't fail to
build because only a library is built, so such function calls are left
unresolved. But as soon as it gets used in another package linked in a
program, linking will fail due to the missing
__sync_val_compare_and_swap_4() function.

To fix this, we make json-c depend on BR2_TOOLCHAIN_HAS_SYNC_4, and
propagate to the reverse dependencies:

 - json-c
   - fastd
   - pulseaudio
     - efl
     - espeak
     - gst-plugins-good
     - gst1-plugins-good
     - mpd
   - rsyslog
   - ubus

Note that pulseaudio already had a BR2_ARCH_HAS_ATOMICS dependency,
which we are keeping for the moment, and will clean-up in a subsequent
commit.

This commit will also fix packages that could optionally use json-c,
and therefore fixes build failures like:

  http://autobuild.buildroot.org/results/4fe/4feaa9089ee9a183c5086b791bea35c0156945af/

Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Reviewed-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
</content>
</entry>
<entry>
<title>json-c: change upstream location to Github</title>
<updated>2014-12-20T14:59:01+00:00</updated>
<author>
<name>Sagaert Johan</name>
<email>sagaert.johan@skynet.be</email>
</author>
<published>2014-12-17T21:09:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=3abcdc5cd31b8a72ec92fbfcafb04c38a2706ffd'/>
<id>urn:sha1:3abcdc5cd31b8a72ec92fbfcafb04c38a2706ffd</id>
<content type='text'>
json-c website and download locations have changed, the project is now
hosted on Github.

Signed-off-by: Sagaert Johan &lt;sagaert.johan@skynet.be&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package: add json-c library</title>
<updated>2011-09-28T20:18:29+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2011-09-28T20:18:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=6fc42cda363292b05d16d8eabaceba6376edc318'/>
<id>urn:sha1:6fc42cda363292b05d16d8eabaceba6376edc318</id>
<content type='text'>
json-c is a JSON library written in C.

Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
</feed>
