63f72cf401bdf09051deb5d65230aff3ee6b7d5d
[debian/iodine.git] / debian / patches / kfreebsd.patch
1 Description: fix compilation error on kFreeBSD
2 Origin: vendor
3 Bug-Debian: https://bugs.debian.org/764117
4 Forwarded: not-yet
5 Author: gregor herrmann <gregoa@debian.org>
6 Last-Update: 2014-10-05
7
8 --- a/src/osflags
9 +++ b/src/osflags
10 @@ -38,6 +38,9 @@
11                         [ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS -DHAVE_SYSTEMD";
12                         echo $FLAGS;
13                 ;;
14 +               GNU/kFreeBSD)
15 +                       echo '-D_GNU_SOURCE'
16 +               ;;
17         esac
18  ;;
19  *)