1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Delete calls to g_thread_init. It isn't needed with glib 2.32 and up

and the port doesn't link with libgthread-2.0.

Reported by:	antoine
This commit is contained in:
Tijl Coosemans 2014-09-02 18:43:21 +00:00
parent aca9b50512
commit 1ca8a81e6e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=367071

View File

@ -109,6 +109,12 @@ post-patch:
-e 's|-DG_DISABLE_DEPRECATED||g' \
-e 's|-Wmissing-include-dirs||g' \
${WRKSRC}/configure
@${REINPLACE_CMD} 's/g_thread_init.*/(void)0;/' \
${WRKSRC}/calendar/gui/alarm-notify/notify-main.c \
${WRKSRC}/capplet/settings/mail-guess-servers.c \
${WRKSRC}/capplet/anjal-settings-main.c \
${WRKSRC}/plugins/backup-restore/backup.c \
${WRKSRC}/shell/main.c
@${REINPLACE_CMD} -e 's|/usr|${LOCALBASE}|g' \
${WRKSRC}/plugins/bogo-junk-plugin/bf-junk-filter.c
@${REINPLACE_CMD} -e 's|/usr/sbin|${LOCALBASE}/bin|g' \