Skip to content

Commit 2eef2e1

Browse files
authored
Revert "mlterm: unbreak" (#371755)
2 parents 4e94ad4 + 2c0bec5 commit 2eef2e1

File tree

2 files changed

+18
-14
lines changed

2 files changed

+18
-14
lines changed

pkgs/applications/terminal-emulators/mlterm/default.nix

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
args@{
1+
{
22
stdenv,
3-
gcc13Stdenv,
43
lib,
54
fetchFromGitHub,
65
pkg-config,
@@ -99,7 +98,6 @@ let
9998
commaSepList = lib.concatStringsSep "," (builtins.attrNames (lib.filterAttrs (n: v: v) attrset));
10099
in
101100
lib.withFeatureAs (commaSepList != "") featureName commaSepList;
102-
stdenv = if args.stdenv.cc.isGNU then args.gcc13Stdenv else args.stdenv;
103101
in
104102
stdenv.mkDerivation (finalAttrs: {
105103
pname = "mlterm";

pkgs/tools/inputmethods/uim/default.nix

+17-11
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
args@{
1+
{
22
lib,
33
stdenv,
4-
gcc13Stdenv,
54
fetchFromGitHub,
5+
fetchpatch,
66
shared-mime-info,
77
autoconf,
88
automake,
@@ -53,20 +53,16 @@ assert withNetworking -> curl != null && openssl != null;
5353
assert withFFI -> libffi != null;
5454
assert withMisc -> libeb != null;
5555

56-
let
57-
stdenv = if args.stdenv.cc.isGNU then args.gcc13Stdenv else args.stdenv;
58-
in
59-
6056
stdenv.mkDerivation rec {
61-
version = "1.8.9";
57+
version = "1.8.8";
6258
pname = "uim";
6359

6460
src = fetchFromGitHub {
6561
owner = "uim";
6662
repo = "uim";
67-
rev = version;
63+
rev = "2c0958c9c505a87e70e344c2192e2e5123c71ea5";
6864
fetchSubmodules = true;
69-
hash = "sha256-OqbtuoV9xPg51BhboP4EtTZA2psd8sUk3l3RfvYtv3w=";
65+
sha256 = "1hkjxi5r49gcna37m3jvykny5hz9ram4y8a3q7lw4qzr52mz9pdp";
7066
};
7167

7268
nativeBuildInputs =
@@ -124,6 +120,18 @@ stdenv.mkDerivation rec {
124120

125121
patches = [
126122
./data-hook.patch
123+
124+
# Pull upstream fix for -fno-common toolchains
125+
# https://github.com/uim/libgcroots/pull/4
126+
(fetchpatch {
127+
name = "libgcroots-fno-common.patch";
128+
url = "https://github.com/uim/libgcroots/commit/7e39241344ad0663409e836560ae6b5eb231e1fc.patch";
129+
sha256 = "0iifcl5lk8bvl0cflm47gkymg88aiwzj0gxh2aj3mqlyhvyx78nz";
130+
# Patch comes from git submodule. Relocate as:
131+
# a/include/private/gc_priv.h -> a/sigscheme/libgcroots/include/private/gc_priv.h
132+
stripLen = 1;
133+
extraPrefix = "sigscheme/libgcroots/";
134+
})
127135
];
128136

129137
configureFlags =
@@ -168,8 +176,6 @@ stdenv.mkDerivation rec {
168176
export XDG_DATA_DIRS="${shared-mime-info}/share"
169177
'';
170178

171-
enableParallelBuilding = false;
172-
173179
dontUseCmakeConfigure = true;
174180

175181
meta = with lib; {

0 commit comments

Comments
 (0)