Commit 39cbb81b authored by Sergei Trofimovich's avatar Sergei Trofimovich
Browse files

bfr: remove (`gcc-15` build failure)

The project has no homepage, the page where tarball lies returns
suspicious HTML. The build fails on` gcc-15` as
https://hydra.nixos.org/build/319884933

:

    configure:1333:67: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
     1333 | if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
          |                                                                   ^~~~

Let's delete the package.

Co-authored-by: default avatarrewine <luhongxu@deepin.org>
parent 2e0b6e1a
Loading
Loading
Loading
Loading
+0 −13
Original line number Diff line number Diff line
diff --git a/configure b/configure
index 53e90a7..4afeb58 100755
--- a/configure
+++ b/configure
@@ -411,7 +411,7 @@ if test "$silent" = yes; then
 else
   exec 6>&1
 fi
-exec 5>./config.log
+exec 5>&2
 
 echo "\
 This file contains any messages produced by compilers while
+0 −13
Original line number Diff line number Diff line
diff --git a/configure b/configure
index 53e90a7..cc80615 100755
--- a/configure
+++ b/configure
@@ -908,7 +908,7 @@ cat > conftest.$ac_ext << EOF
 #line 909 "configure"
 #include "confdefs.h"
 
-main(){return(0);}
+int main(){return(0);}
 EOF
 if { (eval echo configure:914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   ac_cv_prog_cc_works=yes

pkgs/by-name/bf/bfr/package.nix

deleted100644 → 0
+0 −35
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchurl,
  perl,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "bfr";
  version = "1.6";

  src = fetchurl {
    url = "http://www.sourcefiles.org/Utilities/Text_Utilities/bfr-${finalAttrs.version}.tar.bz2";
    sha256 = "0fadfssvj9klj4dq9wdrzys1k2a1z2j0p6kgnfgbjv0n1bq6h4cy";
  };

  patches = [
    ./configure-log-compiler-errors-to-stderr.patch
    ./fix-gcc-complaining-about-invalid-configure-example-code.patch

    (fetchurl {
      url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/app-misc/bfr/files/bfr-1.6-perl.patch?id=dec60bb6900d6ebdaaa6aa1dcb845b30b739f9b5";
      sha256 = "1pk9jm3c1qzs727lh0bw61w3qbykaqg4jblywf9pvq5bypk88qfj";
    })
  ];

  buildInputs = [ perl ];

  meta = {
    description = "General-purpose command-line pipe buffer";
    license = lib.licenses.gpl2Only;
    maintainers = with lib.maintainers; [ pSub ];
    platforms = lib.platforms.linux;
  };
})
+1 −0
Original line number Diff line number Diff line
@@ -361,6 +361,7 @@ mapAliases {
  belle-sip = throw "'belle-sip' has been moved to 'linphonePackages.belle-sip'"; # Added 2025-09-20
  belr = throw "'belr' has been moved to 'linphonePackages.belr'"; # Added 2025-09-20
  bfc = throw "bfc has been removed, as it does not build with supported LLVM versions"; # Added 2025-08-10
  bfr = throw "bfr has been removed, did not update since 2004, fails to build on gcc-15, no homepage"; # Added 2026-01-28
  bindle = throw "bindle has been removed since it is vulnerable to CVE-2025-62518 and upstream has been archived"; # Added 2025-10-24
  binserve = throw "'binserve' has been removed because it is unmaintained upstream."; # Added 2025-11-29
  bitbucket-server-cli = throw "bitbucket-server-cli has been removed due to lack of maintenance upstream."; # Added 2025-05-27