fix compiler warning by define _GNU_SOURCE
fix com.deepin.api.Search changed