summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-arch/advancecomp/files/advancecomp-1.17-bzip2-compile.patch')
-rw-r--r--app-arch/advancecomp/files/advancecomp-1.17-bzip2-compile.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/app-arch/advancecomp/files/advancecomp-1.17-bzip2-compile.patch b/app-arch/advancecomp/files/advancecomp-1.17-bzip2-compile.patch
new file mode 100644
index 000000000000..726c63cf532d
--- /dev/null
+++ b/app-arch/advancecomp/files/advancecomp-1.17-bzip2-compile.patch
@@ -0,0 +1,16 @@
+--- advancecomp-1.17/zipsh.cc
++++ advancecomp-1.17/zipsh.cc
+@@ -215,11 +215,11 @@
+ }
+
+ #if USE_BZIP2
+- if (level != shrink_fast && !standard) {
++ if (level.level != shrink_fast && !standard) {
+ unsigned bzip2_level;
+ unsigned bzip2_workfactor;
+
+- switch (level) {
++ switch (level.level) {
+ case shrink_normal :
+ bzip2_level = 6;
+ bzip2_workfactor = 30;