Skip to content

Commit

Permalink
Merge: [staging-next] epson-escpr2: add archlinux patch for gcc14 com…
Browse files Browse the repository at this point in the history
…patibility (#363259)
  • Loading branch information
Ma27 authored Dec 12, 2024
2 parents 81eb6d6 + e6269ea commit b492c34
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/by-name/ep/epson-escpr2/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,15 @@ stdenv.mkDerivation rec {
cpio
];

patches = [
# Fixes "implicit declaration of function" errors
# source of patch: https://aur.archlinux.org/packages/epson-inkjet-printer-escpr2
(fetchurl {
url = "https://aur.archlinux.org/cgit/aur.git/plain/bug_x86_64.patch?h=epson-inkjet-printer-escpr2";
sha256 = "sha256-G6/3oj25FUT+xv9aJ7qP5PBZWLfy+V8MCHUYucDhtzM=";
})
];

configureFlags = [
"--with-cupsfilterdir=${builtins.placeholder "out"}/lib/cups/filter"
"--with-cupsppddir=${builtins.placeholder "out"}/share/cups/model"
Expand Down

0 comments on commit b492c34

Please sign in to comment.