nixpkgs/pkgs
Maximilian Bosch 2ae32923ed
yabar: fix build
The stable build for `yabar` is currently broken: https://hydra.nixos.org/build/75989172

Main reason is that the inline function `ya_setup_prefix_suffix` is
supposed to be an inline function, but was insufficiently declared as
such which broke the compiler recently with the following message:

```
gcc -std=c99 -Iinclude -pedantic -Wall -Os `pkg-config --cflags pango pangocairo libconfig` -DVERSION=\"0.4.0\" -D_POSIX_C_SOURCE=199309L -DYA_INTERNAL -DYA_DYN_COL -DYA_ENV_VARS -DYA_INTERNAL_EWMH  -c -o src/intern_blks/ya_intern.o src/intern_blks/ya_intern.c
gcc -o yabar src/ya_main.o src/ya_draw.o src/ya_exec.o src/ya_parse.o src/intern_blks/ya_intern.o -lxcb -lpthread -lxcb-randr -lxcb-ewmh `pkg-config --libs pango pangocairo libconfig`
src/intern_blks/ya_intern.o: In function `ya_int_date':
ya_intern.c:(.text+0x49): undefined reference to `ya_setup_prefix_suffix'
src/intern_blks/ya_intern.o: In function `ya_int_uptime':
ya_intern.c:(.text+0xf4): undefined reference to `ya_setup_prefix_suffix'
src/intern_blks/ya_intern.o: In function `ya_int_brightness':
ya_intern.c:(.text+0x1d8): undefined reference to `ya_setup_prefix_suffix'
src/intern_blks/ya_intern.o: In function `ya_int_bandwidth':
ya_intern.c:(.text+0x377): undefined reference to `ya_setup_prefix_suffix'
src/intern_blks/ya_intern.o: In function `ya_int_cpu':
ya_intern.c:(.text+0x6de): undefined reference to `ya_setup_prefix_suffix'
src/intern_blks/ya_intern.o:ya_intern.c:(.text+0x924): more undefined references to `ya_setup_prefix_suffix' follow
collect2: error: ld returned 1 exit status
make: *** [Makefile:18: yabar] Error 1
```

This issue has been fixed on master (see
9779a5e04b)
which is why `nixos.yabar-unstable` remained functional.
2018-06-21 23:38:13 +02:00
..
applications yabar: fix build 2018-06-21 23:38:13 +02:00
build-support singularity-tools: create mount points for image building (#41470) 2018-06-18 23:50:06 +02:00
common-updater
data all-cabal-hashes: update snapshot to Hackage at 2018-06-14T18:11:23Z 2018-06-16 15:57:43 +02:00
desktops Merge pull request #42229 from r-ryantm/auto-update/marco 2018-06-21 09:17:33 +01:00
development Merge pull request #42328 from holidaycheck/nodejs-10.5.0 2018-06-21 21:42:40 +08:00
games wesnoth: 1.14.2 -> 1.14.3 (#42195) 2018-06-19 23:24:05 +00:00
misc Merge pull request #42285 from r-ryantm/auto-update/adapta-gtk-theme 2018-06-20 10:38:27 +01:00
os-specific linux: 4.16.16 -> 4.16.17 2018-06-21 08:20:34 -04:00
servers telegraf: also remove old deps file 2018-06-21 11:48:46 +01:00
shells xonsh: 0.6.6 -> 0.6.7 2018-06-18 17:26:52 -07:00
stdenv darwin stdenv: Put back "man" attribute on clang and llvm 2018-06-18 14:47:29 -04:00
test tests.cc-wrapper: Fix sanitizer condition 2018-06-18 15:05:57 -04:00
tools Merge pull request #42274 from r-ryantm/auto-update/fwup 2018-06-21 11:27:24 +01:00
top-level rancher-compose: remove 2018-06-21 11:11:41 +01:00