Date: Mon, 24 Jun 2019 08:56:58 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r505014 - head/games/gtkradiant Message-ID: <201906240856.x5O8uw8L090639@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Mon Jun 24 08:56:57 2019 New Revision: 505014 URL: https://svnweb.freebsd.org/changeset/ports/505014 Log: Avoid using `sys/dir.h' to make the port look less abandonware. Obtained from: games/netradiant (r504802) Modified: head/games/gtkradiant/Makefile Modified: head/games/gtkradiant/Makefile ============================================================================== --- head/games/gtkradiant/Makefile Mon Jun 24 08:55:13 2019 (r505013) +++ head/games/gtkradiant/Makefile Mon Jun 24 08:56:57 2019 (r505014) @@ -56,6 +56,11 @@ post-patch: # page size is deprecated" (very annoying) @${GREP} -Rl --null gtk_adjustment_new ${WRKSRC} | ${XARGS} -0 \ ${REINPLACE_CMD} -E 's|(gtk_adjustment_new[^)]*,)[^)]*|\1 0|' +# Do not #include <sys/dir.h> header which is deprecated + @${REINPLACE_CMD} -e '/#include/s,<sys/dir,&ent,' \ + ${WRKSRC}/tools/quake2/qdata/qdata.c + @${REINPLACE_CMD} -e 's,#ifndef WIN32,#ifdef NeXT,' \ + ${WRKSRC}/tools/quake3/q3data/q3data.c pre-install: cd ${WRKSRC} && ${PYTHON_CMD} install.py
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906240856.x5O8uw8L090639>