cwidget: apply ftbfs patch to build aptitude i386
This commit is contained in:
parent
a73f67e768
commit
9ced2f3996
2 changed files with 45 additions and 0 deletions
|
|
@ -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
|
||||||
29
helpers/make-cwidget
Normal file
29
helpers/make-cwidget
Normal file
|
|
@ -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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue