privoxy: 3.0.34 -> 4.0.0

Privoxy 3.0.34 fails with the GCC update
(https://github.com/NixOS/nixpkgs/pull/471587).

Privoxy 4.0.0 seems to build and work fine.

See https://github.com/NixOS/nixpkgs/issues/475479
This commit is contained in:
Jean-François Roche
2025-12-31 16:45:20 +01:00
parent ecd94a8644
commit c3967d78ad
+2 -11
View File
@@ -16,22 +16,13 @@
stdenv.mkDerivation rec {
pname = "privoxy";
version = "3.0.34";
version = "4.0.0";
src = fetchurl {
url = "mirror://sourceforge/ijbswa/Sources/${version}%20%28stable%29/${pname}-${version}-stable-src.tar.gz";
sha256 = "sha256-5sy8oWVvTmFrRlf4UU4zpw9ml+nXKUNWV3g5Mio8XSw=";
sha256 = "sha256-wI4roASTBwF7+dimPdKg37lqoM3rNK4Ad3bmPrpiom8=";
};
# Patch to fix socks4 and socks4a support under glibc's source fortification
# (enabled by default since glibc 2.38-0)
patches = [
(fetchpatch {
url = "https://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=19d7684ca10f6c1279568aa19e9a9da2276851f1";
sha256 = "sha256-bCb0RUVrWeGfqZYFHXDEEx+76xiNyVqehtLvk9C1j+4=";
})
];
nativeBuildInputs = [
autoreconfHook
w3m