Browse Source

unicornscan: fixed compiling by passing -D_GNU_SOURCE in CFLAGS (see note)

Note:

Without passing -D_GNU_SOURCE the build fails with the error:
storage size of 'ccred' isn't known.
stable/0.2
Christian Wiese 13 years ago
parent
commit
6850643f54
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      security/unicornscan/unicornscan.conf

+ 5
- 1
security/unicornscan/unicornscan.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../unicornscan/unicornscan.conf
# Copyright (C) 2008 The OpenSDE Project
# Copyright (C) 2008 - 2011 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
@ -13,3 +13,7 @@
# --- SDE-COPYRIGHT-NOTE-END ---
var_append makeinstopt ' ' "PREFIX=$root/$prefix"
# without passing -D_GNU_SOURCE the build fails with the error:
# storage size of 'ccred' isn't known
var_append configprefix ' ' 'CFLAGS=-D_GNU_SOURCE'

Loading…
Cancel
Save