summaryrefslogtreecommitdiff
path: root/dev-java/javolution/files/4.0.2-fix-java7.patch
diff options
context:
space:
mode:
authorPalica <palica+gitlab@liguros.net>2020-06-23 22:35:08 +0200
committerPalica <palica+gitlab@liguros.net>2020-06-23 22:35:08 +0200
commitecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch)
treeb89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-java/javolution/files/4.0.2-fix-java7.patch
parent1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff)
downloadbaldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz
baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz
baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip
Updating liguros repo
Diffstat (limited to 'dev-java/javolution/files/4.0.2-fix-java7.patch')
-rw-r--r--dev-java/javolution/files/4.0.2-fix-java7.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-java/javolution/files/4.0.2-fix-java7.patch b/dev-java/javolution/files/4.0.2-fix-java7.patch
new file mode 100644
index 000000000000..19d2275b8e0c
--- /dev/null
+++ b/dev-java/javolution/files/4.0.2-fix-java7.patch
@@ -0,0 +1,38 @@
+diff --git a/javolution-4.0/src/javolution/io/Struct.java b/javolution-4.0/src/javolution/io/Struct.java
+index 5198030..3def806 100644
+--- a/javolution-4.0/src/javolution/io/Struct.java
++++ b/javolution-4.0/src/javolution/io/Struct.java
+@@ -134,7 +134,7 @@ public class Struct {
+ /**
+ * Holds the outer struct if any.
+ */
+- private Struct _outer;
++ Struct _outer;
+
+ /**
+ * Holds the byte buffer backing the struct (top struct).
+@@ -145,7 +145,7 @@ public class Struct {
+ * Holds the offset of this struct relative to the outer struct or
+ * to the byte buffer if there is no outer.
+ */
+- private int _outerOffset;
++ int _outerOffset;
+
+ /**
+ * Holds the number of bits currently used (for size calculation).
+@@ -155,7 +155,7 @@ public class Struct {
+ /**
+ * Holds this struct alignment (largest alignment of its members).
+ */
+- private int _alignment = 1;
++ int _alignment = 1;
+
+ /**
+ * Holds the current bit index position (during construction).
+@@ -1607,4 +1607,4 @@ public class Struct {
+ }
+ }
+ }
+-}
+\ No newline at end of file
++}