summary refs log tree commit diff
path: root/pkgs/tools/archivers/unar
diff options
context:
space:
mode:
authorajs124 <git@ajs124.de>2020-05-22 20:59:44 +0200
committerajs124 <git@ajs124.de>2020-05-22 21:01:46 +0200
commit27e5a3f6c32e986badeb7d2faa317171e6831405 (patch)
tree85b8de784a848bc087e8f4c7de76a2ce69179250 /pkgs/tools/archivers/unar
parent0c332b2a1eef8f26b8355d7614d6ae29dad568d9 (diff)
downloadnixpkgs-27e5a3f6c32e986badeb7d2faa317171e6831405.tar
nixpkgs-27e5a3f6c32e986badeb7d2faa317171e6831405.tar.gz
nixpkgs-27e5a3f6c32e986badeb7d2faa317171e6831405.tar.bz2
nixpkgs-27e5a3f6c32e986badeb7d2faa317171e6831405.tar.lz
nixpkgs-27e5a3f6c32e986badeb7d2faa317171e6831405.tar.xz
nixpkgs-27e5a3f6c32e986badeb7d2faa317171e6831405.tar.zst
nixpkgs-27e5a3f6c32e986badeb7d2faa317171e6831405.zip
unar: fix build with new gnustep-base
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230627 for reference
Diffstat (limited to 'pkgs/tools/archivers/unar')
-rw-r--r--pkgs/tools/archivers/unar/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/archivers/unar/default.nix b/pkgs/tools/archivers/unar/default.nix
index 9fdbada9ab8..6e75ee720e8 100644
--- a/pkgs/tools/archivers/unar/default.nix
+++ b/pkgs/tools/archivers/unar/default.nix
@@ -16,7 +16,9 @@ stdenv.mkDerivation rec {
     for f in Makefile.linux ../UniversalDetector/Makefile.linux ; do
       substituteInPlace $f \
         --replace "= gcc" "=cc" \
-        --replace "= g++" "=c++"
+        --replace "= g++" "=c++" \
+        --replace "-DGNU_RUNTIME=1" "" \
+        --replace "-fgnu-runtime" "-fobjc-nonfragile-abi"
     done
 
     # we need to build inside this directory as well, so we have to make it writeable