1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Update the patch introduced in r362770.

Change a preprocessor line with no directive to a normal line with a
comment. While most preprocessors work fine with a line like

  # /* no directive in this line */

devel/smokegen's fails, and breaks devel/smokeqt.

PR:		192095
This commit is contained in:
Raphael Kubo da Costa 2014-07-25 22:24:40 +00:00
parent bc33c93e60
commit 28880765ad
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362938
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= corelib
DISTVERSION= ${QT4_VERSION}
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= devel
PKGNAMEPREFIX= qt4-

View File

@ -70,7 +70,7 @@ index 158ef78..4f1384b 100644
/* Clang also masquerades as GCC 4.2.1 */
# define Q_CC_CLANG
+# if !defined(__has_extension)
+# /* Compatibility with older Clang versions */
+ /* Compatibility with older Clang versions */
+# define __has_extension __has_feature
+# endif
# endif