git.iko.soy/typeable/nixpkgs
on master help sign in
spl: 0.6.5.3 -> 0.6.5.4
commitfe53cb56d94a4334a1f5e9a1e2f9548540fd2a2a authorRicardo M. Correia <rcorreia@wizy.org> dateWed 13 Jan 2016, 17:07 (11 years ago) parent5f767b2
3 files changed+15−14
pkgs/os-specific/linux/spl/const.patch+4−4 pkgs/os-specific/linux/spl/default.nix+2−2 pkgs/os-specific/linux/spl/install_prefix.patch+9−8
pkgs/os-specific/linux/spl/const.patch+4−4
@@ -1,10 +1,10 @@
11diff --git a/module/spl/spl-proc.c b/module/spl/spl-proc.c
2−index f25239a..b731123 100644
2+index eb00505..6f38cef 100644
33--- a/module/spl/spl-proc.c
44+++ b/module/spl/spl-proc.c
5−@@ -38,7 +38,7 @@
6−
7− #define SS_DEBUG_SUBSYS SS_PROC
5+@@ -36,7 +36,7 @@
6+ #include <linux/uaccess.h>
7+ #include <linux/version.h>
88
99-#if defined(CONSTIFY_PLUGIN) && LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0)
1010+#if defined(CONSTIFY_PLUGIN)
pkgs/os-specific/linux/spl/default.nix+2−2
@@ -17,13 +17,13 @@ assert buildKernel -> kernel != null;
1717stdenv.mkDerivation rec {
1818 name = "spl-${configFile}-${version}${optionalString buildKernel "-${kernel.version}"}";
1919
20− version = "0.6.5.3";
20+ version = "0.6.5.4";
2121
2222 src = fetchFromGitHub {
2323 owner = "zfsonlinux";
2424 repo = "spl";
2525 rev = "spl-${version}";
26− sha256 = "0lj57apwsy8cfwsvg9z62k71r3qms2p87lgcdk54g7352cwziqps";
26+ sha256 = "0k80xvl15ahbs0mylfl2bd5widxhngpf7dl6zq46s21wk0795jl4";
2727 };
2828
2929 patches = [ ./const.patch ./install_prefix.patch ];
pkgs/os-specific/linux/spl/install_prefix.patch+9−8
@@ -1,5 +1,5 @@
11diff --git a/Makefile.am b/Makefile.am
2−index 89af931..674420c 100644
2+index 4977448..ac17217 100644
33--- a/Makefile.am
44+++ b/Makefile.am
55@@ -12,10 +12,10 @@ endif
@@ -40,10 +40,10 @@ index e0da4b3..d6d7af0 100644
4040 kernel_HEADERS = $(KERNEL_H)
4141 endif
4242diff --git a/include/linux/Makefile.am b/include/linux/Makefile.am
43−index 1cca44a..e0d843b 100644
43+index 712e94e..4af9fb7 100644
4444--- a/include/linux/Makefile.am
4545+++ b/include/linux/Makefile.am
46−@@ -19,6 +19,6 @@ USER_H =
46+@@ -18,6 +18,6 @@ USER_H =
4747 EXTRA_DIST = $(COMMON_H) $(KERNEL_H) $(USER_H)
4848
4949 if CONFIG_KERNEL
@@ -76,10 +76,10 @@ index 10e7093..febecdf 100644
7676 kernel_HEADERS = $(KERNEL_H)
7777 endif
7878diff --git a/include/sys/Makefile.am b/include/sys/Makefile.am
79−index 2d21c57..3958cfd 100644
79+index 73c4a84..31a9f50 100644
8080--- a/include/sys/Makefile.am
8181+++ b/include/sys/Makefile.am
82−@@ -104,7 +104,7 @@ USER_H =
82+@@ -107,7 +107,7 @@ USER_H =
8383 EXTRA_DIST = $(COMMON_H) $(KERNEL_H) $(USER_H)
8484
8585 if CONFIG_KERNEL
@@ -125,7 +125,7 @@ index 63d9af3..de1aa18 100644
125125 kernel_HEADERS = $(KERNEL_H)
126126 endif
127127diff --git a/include/util/Makefile.am b/include/util/Makefile.am
128−index b721b50..cbb9a05 100644
128+index e2bf09f..3f5d6ce 100644
129129--- a/include/util/Makefile.am
130130+++ b/include/util/Makefile.am
131131@@ -9,6 +9,6 @@ USER_H =
@@ -149,7 +149,7 @@ index 7faab0a..8148b3d 100644
149149 kernel_HEADERS = $(KERNEL_H)
150150 endif
151151diff --git a/module/Makefile.in b/module/Makefile.in
152−index 41c1010..3141397 100644
152+index d4e62e1..73fa01c 100644
153153--- a/module/Makefile.in
154154+++ b/module/Makefile.in
155155@@ -21,15 +21,15 @@ clean:
@@ -162,8 +162,9 @@ index 41c1010..3141397 100644
162162 KERNELRELEASE=@LINUX_VERSION@
163163 @# Remove extraneous build products when packaging
164164- kmoddir=$(DESTDIR)$(INSTALL_MOD_PATH)/lib/modules/@LINUX_VERSION@; \
165+- if [ -n "$(DESTDIR)" ]; then \
165166+ kmoddir=@prefix@/$(INSTALL_MOD_PATH)/lib/modules/@LINUX_VERSION@; \
166− if [ -n $$kmoddir ]; then \
167++ if [ -n "@prefix@" ]; then \
167168 find $$kmoddir -name 'modules.*' | xargs $(RM); \
168169 fi
169170- sysmap=$(DESTDIR)$(INSTALL_MOD_PATH)/boot/System.map-@LINUX_VERSION@; \