aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/hack-6.1/204-module_strip.patch
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2023-05-26 12:37:15 +0200
committerChristian Marangi <ansuelsmth@gmail.com>2023-05-28 08:58:06 +0200
commitb14c6545df17a15fb0c8d3b916b24db51d088a87 (patch)
tree233ccabb849085c41be5578c05e0f1035a0177c3 /target/linux/generic/hack-6.1/204-module_strip.patch
parent61ff33c1c282093f1d96ac2e5c106dedf7b897f7 (diff)
downloadupstream-b14c6545df17a15fb0c8d3b916b24db51d088a87.tar.gz
upstream-b14c6545df17a15fb0c8d3b916b24db51d088a87.tar.bz2
upstream-b14c6545df17a15fb0c8d3b916b24db51d088a87.zip
prereq-build: add missing check for Perl IPC::Cmd
OpenSSL fails to compile in Fedora 38 container due to the following: Can't locate IPC/Cmd.pm in @INC (you may need to install the IPC::Cmd module) (@INC contains: /openwrt/build_dir/target-x86_64_musl/openssl-3.0.8/util/perl /usr/local/lib64/perl5/5.36 /usr/local/share/perl5/5.36 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 /openwrt/build_dir/target-x86_64_musl/openssl-3.0.8/external/perl/Text-Template-1.56/lib) at /openwrt/build_dir/target-x86_64_musl/openssl-3.0.8/util/perl/OpenSSL/config.pm line 19. BEGIN failed--compilation aborted at /openwrt/build_dir/target-x86_64_musl/openssl-3.0.8/util/perl/OpenSSL/config.pm line 19. Compilation failed in require at ./Configure line 23. BEGIN failed--compilation aborted at ./Configure line 23. Seems like `dnf install -y perl-IPC-Cmd` fixes the issue. So lets fix it by checking for Perl IPC::Cmd host module availability. Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'target/linux/generic/hack-6.1/204-module_strip.patch')
0 files changed, 0 insertions, 0 deletions
/* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
--  VHDL regeneration from internal nodes.
--  Copyright (C) 2002, 2003, 2004, 2005 Tristan Gingold
--
--  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, see <gnu.org/licenses>.

with Vhdl.Nodes; use Vhdl.Nodes;
with Vhdl.Tokens; use Vhdl.Tokens;
with PSL.Types; use PSL.Types;

package Vhdl.Prints is
   --  Vertical alignment
   type Valign_Type is
     (
      --  Align the colon (which separates identifier from mode or subtype).
      Valign_Colon,

      --  Align the assign token (either for declarations or assignments).
      Valign_Assign,

      --  Align the subtype indication.
      Valign_Typemark
     );

   type Disp_Ctxt is abstract tagged null record;
   procedure Start_Hbox (Ctxt : in out Disp_Ctxt) is abstract;
   procedure Close_Hbox (Ctxt : in out Disp_Ctxt) is abstract;
   procedure Start_Vbox (Ctxt : in out Disp_Ctxt) is abstract;
   procedure Close_Vbox (Ctxt : in out Disp_Ctxt) is abstract;

   --  Called before some nodes to display comments.  The nodes are:
   --  Iir_Kind_Design_Unit
   --  Iir_Kinds_Interface_Declaration
   procedure Start_Node (Ctxt : in out Disp_Ctxt; N : Iir) is null;

   procedure Valign (Ctxt : in out Disp_Ctxt; Point : Valign_Type)
     is abstract;
   procedure Disp_Token (Ctxt : in out Disp_Ctxt; Tok : Token_Type)
      is abstract;
   procedure Start_Lit (Ctxt : in out Disp_Ctxt; Tok : Token_Type)
      is abstract;
   procedure Disp_Char (Ctxt : in out Disp_Ctxt; C : Character)
      is abstract;
   procedure Close_Lit (Ctxt : in out Disp_Ctxt)
     is abstract;

   subtype Ctxt_Class is Disp_Ctxt'Class;

   --  Helper that calls Disp_Char for every character of STR.
   procedure Disp_Str (Ctxt : in out Ctxt_Class; Str : String);

   --  Return True if a space should be displayed between PREV_TOK and TOK.
   function Need_Space (Tok, Prev_Tok : Token_Type) return Boolean;

   -- General procedure to display a node.
   -- Mainly used to dispatch to other functions according to the kind of
   -- the node.
   procedure Disp_Vhdl (Ctxt : in out Ctxt_Class; N : Iir);

   procedure Disp_PSL_NFA (Ctxt : in out Ctxt_Class; N : PSL_NFA);

   --  Standalone version of above method, create a default context.
   --  Used for debugging.
   procedure Disp_Vhdl (N : Iir);
   procedure Disp_PSL_NFA (N : PSL_NFA);

   --  Display an expression.
   --  Used for debugging.
   procedure Disp_Expression (Expr: Iir);
   procedure Disp_PSL_Expr (N : PSL_Node);
end Vhdl.Prints;