File tree 2 files changed +18
-14
lines changed
applications/terminal-emulators/mlterm
2 files changed +18
-14
lines changed Original file line number Diff line number Diff line change 1
- args @ {
1
+ {
2
2
stdenv ,
3
- gcc13Stdenv ,
4
3
lib ,
5
4
fetchFromGitHub ,
6
5
pkg-config ,
99
98
commaSepList = lib . concatStringsSep "," ( builtins . attrNames ( lib . filterAttrs ( n : v : v ) attrset ) ) ;
100
99
in
101
100
lib . withFeatureAs ( commaSepList != "" ) featureName commaSepList ;
102
- stdenv = if args . stdenv . cc . isGNU then args . gcc13Stdenv else args . stdenv ;
103
101
in
104
102
stdenv . mkDerivation ( finalAttrs : {
105
103
pname = "mlterm" ;
Original file line number Diff line number Diff line change 1
- args @ {
1
+ {
2
2
lib ,
3
3
stdenv ,
4
- gcc13Stdenv ,
5
4
fetchFromGitHub ,
5
+ fetchpatch ,
6
6
shared-mime-info ,
7
7
autoconf ,
8
8
automake ,
@@ -53,20 +53,16 @@ assert withNetworking -> curl != null && openssl != null;
53
53
assert withFFI -> libffi != null ;
54
54
assert withMisc -> libeb != null ;
55
55
56
- let
57
- stdenv = if args . stdenv . cc . isGNU then args . gcc13Stdenv else args . stdenv ;
58
- in
59
-
60
56
stdenv . mkDerivation rec {
61
- version = "1.8.9 " ;
57
+ version = "1.8.8 " ;
62
58
pname = "uim" ;
63
59
64
60
src = fetchFromGitHub {
65
61
owner = "uim" ;
66
62
repo = "uim" ;
67
- rev = version ;
63
+ rev = "2c0958c9c505a87e70e344c2192e2e5123c71ea5" ;
68
64
fetchSubmodules = true ;
69
- hash = "sha256-OqbtuoV9xPg51BhboP4EtTZA2psd8sUk3l3RfvYtv3w= " ;
65
+ sha256 = "1hkjxi5r49gcna37m3jvykny5hz9ram4y8a3q7lw4qzr52mz9pdp " ;
70
66
} ;
71
67
72
68
nativeBuildInputs =
@@ -124,6 +120,18 @@ stdenv.mkDerivation rec {
124
120
125
121
patches = [
126
122
./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
+ } )
127
135
] ;
128
136
129
137
configureFlags =
@@ -168,8 +176,6 @@ stdenv.mkDerivation rec {
168
176
export XDG_DATA_DIRS="${ shared-mime-info } /share"
169
177
'' ;
170
178
171
- enableParallelBuilding = false ;
172
-
173
179
dontUseCmakeConfigure = true ;
174
180
175
181
meta = with lib ; {
You can’t perform that action at this time.
0 commit comments