aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-servers/XFree86-4-Server-snap/scripts/configure11
-rw-r--r--x11-servers/XFree86-4-Server/scripts/configure11
-rw-r--r--x11/XFree86-4-clients/scripts/configure11
-rw-r--r--x11/XFree86-4-libraries/scripts/configure11
-rw-r--r--x11/XFree86-4/scripts/configure11
-rw-r--r--x11/XFree86/scripts/configure11
6 files changed, 66 insertions, 0 deletions
diff --git a/x11-servers/XFree86-4-Server-snap/scripts/configure b/x11-servers/XFree86-4-Server-snap/scripts/configure
index f103b10daf9e..40e339961f1c 100644
--- a/x11-servers/XFree86-4-Server-snap/scripts/configure
+++ b/x11-servers/XFree86-4-Server-snap/scripts/configure
@@ -362,6 +362,13 @@ if [ $cpkb != NO ]; then
fi
echo
+yesno "Do you want to compile with threads support? (experimental)"
+if [ $answ = YES ]; then
+ THREADS_PATCH=$FILESDIR/BSD-threads.diff
+else
+ THREADS_PATCH=
+fi
+echo
echo "End of configuration questions. No more user input required"
echo
}
@@ -377,6 +384,10 @@ if [ X$cpkb != XNO ]; then
echo "===> Applying KerberosIV patches"
patch -s -d $WRKDIR/xc -E -p0 < $K4PATCH
fi
+if [ X$THREADS_PATCH != X ]; then
+ echo "===> Applying threads patches"
+ patch -s -d $WRKDIR -E -p0 < $THREADS_PATCH
+fi
cat $F >> $WRKDIR/xc/config/cf/xf86site.def
diff --git a/x11-servers/XFree86-4-Server/scripts/configure b/x11-servers/XFree86-4-Server/scripts/configure
index f103b10daf9e..40e339961f1c 100644
--- a/x11-servers/XFree86-4-Server/scripts/configure
+++ b/x11-servers/XFree86-4-Server/scripts/configure
@@ -362,6 +362,13 @@ if [ $cpkb != NO ]; then
fi
echo
+yesno "Do you want to compile with threads support? (experimental)"
+if [ $answ = YES ]; then
+ THREADS_PATCH=$FILESDIR/BSD-threads.diff
+else
+ THREADS_PATCH=
+fi
+echo
echo "End of configuration questions. No more user input required"
echo
}
@@ -377,6 +384,10 @@ if [ X$cpkb != XNO ]; then
echo "===> Applying KerberosIV patches"
patch -s -d $WRKDIR/xc -E -p0 < $K4PATCH
fi
+if [ X$THREADS_PATCH != X ]; then
+ echo "===> Applying threads patches"
+ patch -s -d $WRKDIR -E -p0 < $THREADS_PATCH
+fi
cat $F >> $WRKDIR/xc/config/cf/xf86site.def
diff --git a/x11/XFree86-4-clients/scripts/configure b/x11/XFree86-4-clients/scripts/configure
index f103b10daf9e..40e339961f1c 100644
--- a/x11/XFree86-4-clients/scripts/configure
+++ b/x11/XFree86-4-clients/scripts/configure
@@ -362,6 +362,13 @@ if [ $cpkb != NO ]; then
fi
echo
+yesno "Do you want to compile with threads support? (experimental)"
+if [ $answ = YES ]; then
+ THREADS_PATCH=$FILESDIR/BSD-threads.diff
+else
+ THREADS_PATCH=
+fi
+echo
echo "End of configuration questions. No more user input required"
echo
}
@@ -377,6 +384,10 @@ if [ X$cpkb != XNO ]; then
echo "===> Applying KerberosIV patches"
patch -s -d $WRKDIR/xc -E -p0 < $K4PATCH
fi
+if [ X$THREADS_PATCH != X ]; then
+ echo "===> Applying threads patches"
+ patch -s -d $WRKDIR -E -p0 < $THREADS_PATCH
+fi
cat $F >> $WRKDIR/xc/config/cf/xf86site.def
diff --git a/x11/XFree86-4-libraries/scripts/configure b/x11/XFree86-4-libraries/scripts/configure
index f103b10daf9e..40e339961f1c 100644
--- a/x11/XFree86-4-libraries/scripts/configure
+++ b/x11/XFree86-4-libraries/scripts/configure
@@ -362,6 +362,13 @@ if [ $cpkb != NO ]; then
fi
echo
+yesno "Do you want to compile with threads support? (experimental)"
+if [ $answ = YES ]; then
+ THREADS_PATCH=$FILESDIR/BSD-threads.diff
+else
+ THREADS_PATCH=
+fi
+echo
echo "End of configuration questions. No more user input required"
echo
}
@@ -377,6 +384,10 @@ if [ X$cpkb != XNO ]; then
echo "===> Applying KerberosIV patches"
patch -s -d $WRKDIR/xc -E -p0 < $K4PATCH
fi
+if [ X$THREADS_PATCH != X ]; then
+ echo "===> Applying threads patches"
+ patch -s -d $WRKDIR -E -p0 < $THREADS_PATCH
+fi
cat $F >> $WRKDIR/xc/config/cf/xf86site.def
diff --git a/x11/XFree86-4/scripts/configure b/x11/XFree86-4/scripts/configure
index f103b10daf9e..40e339961f1c 100644
--- a/x11/XFree86-4/scripts/configure
+++ b/x11/XFree86-4/scripts/configure
@@ -362,6 +362,13 @@ if [ $cpkb != NO ]; then
fi
echo
+yesno "Do you want to compile with threads support? (experimental)"
+if [ $answ = YES ]; then
+ THREADS_PATCH=$FILESDIR/BSD-threads.diff
+else
+ THREADS_PATCH=
+fi
+echo
echo "End of configuration questions. No more user input required"
echo
}
@@ -377,6 +384,10 @@ if [ X$cpkb != XNO ]; then
echo "===> Applying KerberosIV patches"
patch -s -d $WRKDIR/xc -E -p0 < $K4PATCH
fi
+if [ X$THREADS_PATCH != X ]; then
+ echo "===> Applying threads patches"
+ patch -s -d $WRKDIR -E -p0 < $THREADS_PATCH
+fi
cat $F >> $WRKDIR/xc/config/cf/xf86site.def
diff --git a/x11/XFree86/scripts/configure b/x11/XFree86/scripts/configure
index f103b10daf9e..40e339961f1c 100644
--- a/x11/XFree86/scripts/configure
+++ b/x11/XFree86/scripts/configure
@@ -362,6 +362,13 @@ if [ $cpkb != NO ]; then
fi
echo
+yesno "Do you want to compile with threads support? (experimental)"
+if [ $answ = YES ]; then
+ THREADS_PATCH=$FILESDIR/BSD-threads.diff
+else
+ THREADS_PATCH=
+fi
+echo
echo "End of configuration questions. No more user input required"
echo
}
@@ -377,6 +384,10 @@ if [ X$cpkb != XNO ]; then
echo "===> Applying KerberosIV patches"
patch -s -d $WRKDIR/xc -E -p0 < $K4PATCH
fi
+if [ X$THREADS_PATCH != X ]; then
+ echo "===> Applying threads patches"
+ patch -s -d $WRKDIR -E -p0 < $THREADS_PATCH
+fi
cat $F >> $WRKDIR/xc/config/cf/xf86site.def