summary refs log tree commit diff
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2021-12-26 19:31:20 +0800
committerGitHub <noreply@github.com>2021-12-26 19:31:20 +0800
commitf5dd11f444e551771c8a8394232f3399e2896b0f (patch)
tree12a32cd3cb9bd86af01af410a788e5f58f1c58ea
parent24dfe901e5ebe2c3f9627ff10f86f4295623838d (diff)
parente6c459f5260ca081c1a397dc603e6f60a142cabd (diff)
downloadnixpkgs-f5dd11f444e551771c8a8394232f3399e2896b0f.tar
nixpkgs-f5dd11f444e551771c8a8394232f3399e2896b0f.tar.gz
nixpkgs-f5dd11f444e551771c8a8394232f3399e2896b0f.tar.bz2
nixpkgs-f5dd11f444e551771c8a8394232f3399e2896b0f.tar.lz
nixpkgs-f5dd11f444e551771c8a8394232f3399e2896b0f.tar.xz
nixpkgs-f5dd11f444e551771c8a8394232f3399e2896b0f.tar.zst
nixpkgs-f5dd11f444e551771c8a8394232f3399e2896b0f.zip
Merge pull request #150357 from r-ryantm/auto-update/acpid
acpid: 2.0.32 -> 2.0.33
-rw-r--r--pkgs/os-specific/linux/acpid/default.nix12
1 files changed, 2 insertions, 10 deletions
diff --git a/pkgs/os-specific/linux/acpid/default.nix b/pkgs/os-specific/linux/acpid/default.nix
index 2b8dac0c8e4..b766739aaaf 100644
--- a/pkgs/os-specific/linux/acpid/default.nix
+++ b/pkgs/os-specific/linux/acpid/default.nix
@@ -2,23 +2,15 @@
 
 stdenv.mkDerivation rec {
   pname = "acpid";
-  version = "2.0.32";
+  version = "2.0.33";
 
   src = fetchurl {
     url = "mirror://sourceforge/acpid2/acpid-${version}.tar.xz";
-    sha256 = "0zhmxnhnhg4v1viw82yjr22kram6k5k1ixznhayk8cnw7q5x7lpj";
+    sha256 = "sha256-CFb3Gz6zShtmPQqOY2Pfy8UZ5j2EczBJiJhljily2+g=";
   };
 
   nativeBuildInputs = [ autoreconfHook ];
 
-  # remove when https://sourceforge.net/p/acpid2/code/merge-requests/1/ is merged
-  postPatch = ''
-    substituteInPlace configure.ac \
-      --replace "AC_FUNC_MALLOC" "" \
-      --replace "AC_FUNC_REALLOC" "" \
-      --replace "strrchr strtol" "strrchr strtol malloc realloc"
-  '';
-
   meta = with lib; {
     homepage = "https://sourceforge.net/projects/acpid2/";
     description = "A daemon for delivering ACPI events to userspace programs";