aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/poppler/poppler/jpeg-stdio.patch
blob: 70ba1cf123aee4518d2307a79910d8922fa872d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
From 2986f06c7cc9d64a506ebe861b8bf38f73386e86 Mon Sep 17 00:00:00 2001
From: Jordan Abrahams-Whitehead <ajordanr@google.com>
Date: Tue, 16 May 2023 18:52:19 +0000
Subject: [PATCH] Add missing #include <cstdio> prior to jpeglib.h

Fixes #1398

Upstream-Status: Backport
Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 goo/JpegWriter.cc              | 2 +-
 poppler/ImageEmbeddingUtils.cc | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/goo/JpegWriter.cc b/goo/JpegWriter.cc
index ca69fd055..566ee38f8 100644
--- a/goo/JpegWriter.cc
+++ b/goo/JpegWriter.cc
@@ -23,7 +23,7 @@
 #ifdef ENABLE_LIBJPEG
 
 #    include "poppler/Error.h"
-
+#    include <cstdio>
 extern "C" {
 #    include <jpeglib.h>
 }
diff --git a/poppler/ImageEmbeddingUtils.cc b/poppler/ImageEmbeddingUtils.cc
index 0c13fe968..07b9dfb62 100644
--- a/poppler/ImageEmbeddingUtils.cc
+++ b/poppler/ImageEmbeddingUtils.cc
@@ -14,6 +14,7 @@
 
 #include <memory>
 #ifdef ENABLE_LIBJPEG
+#    include <cstdio>
 extern "C" {
 #    include <jpeglib.h>
 }
-- 
GitLab
n value='paule/npm-install-fix'>paule/npm-install-fix OpenEmbedded Core user contribution treesGrokmirror user
summaryrefslogtreecommitdiffstats
path: root/templates/layerindex/distros.html
blob: 3266bf60ecafabf16c08cae50d47fb076de5346b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{% extends "base_toplevel.html" %}
{% load i18n %}

{% comment %}

  layerindex-web - distro index page template

  Copyright (C) 2013 Intel Corporation
  Copyright (C) 2016 Wind River Systems
  Licensed under the MIT license, see COPYING.MIT for details

{% endcomment %}


<!--
{% block title_append %} - distros{% endblock %}
-->

{% block navs %}
{% autoescape on %}
                            <li><a href="{% url 'layer_list' url_branch %}">Layers</a></li>
                            <li><a href="{% url 'recipe_search' url_branch %}">Recipes</a></li>
                            <li><a href="{% url 'machine_search' url_branch %}">Machines</a></li>
                            <li><a href="{% url 'class_search' url_branch %}">Classes</a></li>
                            <li class="active"><a href="{% url 'distro_search' url_branch %}">Distros</a></li>
{% endautoescape %}
{% endblock %}


{% block content_inner %}
{% autoescape on %}


                <div class="row-fluid">
                    <div class="input-append">
                        <form id="filter-form" action="{% url 'distro_search' url_branch %}" method="get">
                            <input type="text" class="input-xxlarge" id="appendedInputButtons" placeholder="Search distros" name="q" value="{{ search_keyword }}" />
                            <button class="btn" type="submit" name="search" value="1">search</button>
                            <button class="btn" type="submit" name="browse" value="1">browse</button>
                        </form>
                    </div>
                </div>

{% if distro_list %}
                <table class="table table-striped table-bordered distrostable">
                    <thead>
                        <tr>
                            <th>Distro name</th>
                            <th class="span9">Description</th>
                            <th>Layer</th>
                        </tr>
                    </thead>

                    <tbody>
                        {% for distro in distro_list %}
                            <tr>
                                <td><a href="{{ distro.vcs_web_url }}">{{ distro.name }}</a></td>
                                <td>{{ distro.description }}</td>
                                <td><a href="{% url 'layer_item' url_branch distro.layerbranch.layer.name %}">{{ distro.layerbranch.layer.name }}</a></td>
                            </tr>
                        {% endfor %}
                    </tbody>
                </table>

    {% if is_paginated %}
        {% load pagination %}
        {% pagination page_obj %}
    {% endif %}
{% else %}
    {% if search_keyword %}
    <p>No matching distros in database.</p>
    {% endif %}
{% endif %}


{% endautoescape %}

{% endblock %}