1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

lang/gcc5-aux: Fix build of next version of gnatcoll on DF

The issue only affects DragonFly -- the proper configuration for openpty
support is already defined for FreeBSD using a macro, but the macro
for DragonFly was missing.
This commit is contained in:
John Marino 2015-06-22 19:09:02 +00:00
parent e456b4fad8
commit dbe3014d28
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=390312
2 changed files with 12 additions and 1 deletions

View File

@ -5,7 +5,7 @@ GCC_POINT= 1.1
GCC_VERSION= ${GCC_BRANCH}.${GCC_POINT}
SNAPSHOT= 20150609
BUILD_RELEASE= no
MAIN_PR= 0
MAIN_PR= 1
UTIL_PR= 0
ARMV7_PR= 0

View File

@ -903,6 +903,17 @@
Gcc_Path : String_Access := null;
Non_Empty_Node : constant Project_Node_Id := 1;
--- gcc/ada/s-oscons-tmplt.c.orig
+++ gcc/ada/s-oscons-tmplt.c
@@ -1014,7 +1014,7 @@
*/
-#if defined (__FreeBSD__) || defined (linux)
+#if defined (__FreeBSD__) || defined (linux) || defined (__DragonFly__)
# define PTY_Library "-lutil"
#else
# define PTY_Library ""
--- gcc/ada/s-osinte-android.ads.orig
+++ gcc/ada/s-osinte-android.ads
@@ -597,11 +597,11 @@