diff --git a/helpers/DATA/cwidget/0002-Fix-cwidget-and-aptitude-FTBFS.patch b/helpers/DATA/cwidget/0002-Fix-cwidget-and-aptitude-FTBFS.patch new file mode 100644 index 0000000000000000000000000000000000000000..7614cb84493548ef9d9ab3ed4292397fe36b13ae --- /dev/null +++ b/helpers/DATA/cwidget/0002-Fix-cwidget-and-aptitude-FTBFS.patch @@ -0,0 +1,16 @@ +Description: Fix FTBFS in cwidget as well as in aptitude due to missing #include <pthread.h> +Author: Paul Wise <pabs@debian.org> +Reviewed-By: Axel Beckert <abe@debian.org> +Bug-Debian: https://bugs.debian.org/1015925 +Bug: https://bugs.debian.org/1015925 + +--- a/src/cwidget/generic/threads/threads.h ++++ b/src/cwidget/generic/threads/threads.h +@@ -26,6 +26,7 @@ + #define THREADS_H + + #include <errno.h> ++#include <pthread.h> + #include <cwidget/generic/util/exception.h> + + namespace cwidget diff --git a/helpers/make-cwidget b/helpers/make-cwidget new file mode 100644 index 0000000000000000000000000000000000000000..3918f8f08bccfc7fc76cd3ac40a6e9f43e707a32 --- /dev/null +++ b/helpers/make-cwidget @@ -0,0 +1,29 @@ +#!/bin/sh +# +# Copyright (C) 2023 Luis Guzmán <ark@switnet.org> +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# + +VERSION=0 + +. ./config + +#Apply patch to fix Debian's #1714264 +patch -p1 < $DATA/0002-Fix-cwidget-and-aptitude-FTBFS.patch + +changelog "Apply patch to fix Debian's #1015925 affecting aramo." + +compile