2d292e5a0e2efc0c1213c8be826d45413b2e49a5
[termux-packages] / packages / newsboat / 004_wordexp-stub.patch
1 diff -Naur newsbeuter-2.9.orig/include/wordexp.h newsbeuter-2.9/include/wordexp.h
2 --- newsbeuter-2.9.orig/include/wordexp.h 1970-01-01 01:00:00.000000000 +0100
3 +++ newsbeuter-2.9/include/wordexp.h 2016-05-30 20:37:10.370577949 +0200
4 @@ -0,0 +1,42 @@
5 +/*
6 + *
7 + * Copied from BlueZ - Bluetooth protocol stack for Linux
8 + *
9 + * Copyright (C) 1991-2013 Free Software Foundation, Inc.
10 + *
11 + *
12 + * This library is free software; you can redistribute it and/or
13 + * modify it under the terms of the GNU Lesser General Public
14 + * License as published by the Free Software Foundation; either
15 + * version 2.1 of the License, or (at your option) any later version.
16 + *
17 + * This library is distributed in the hope that it will be useful,
18 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 + * Lesser General Public License for more details.
21 + *
22 + * You should have received a copy of the GNU Lesser General Public
23 + * License along with this library; if not, write to the Free Software
24 + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25 + *
26 + */
27 +#ifndef _WORDEXP_H_
28 +#define _WORDEXP_H_
29 +#define WRDE_NOCMD 0
30 +
31 +typedef struct {
32 + size_t we_wordc;
33 + char **we_wordv;
34 + size_t we_offs;
35 +} wordexp_t;
36 +
37 +static inline int wordexp(const char *c, wordexp_t *w, int _i)
38 +{
39 + return -1;
40 +}
41 +
42 +static inline void wordfree(wordexp_t *__wordexp)
43 +{
44 +
45 +}
46 +#endif