aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/packddir/files/patch-upackddir.c
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/packddir/files/patch-upackddir.c')
-rw-r--r--archivers/packddir/files/patch-upackddir.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/archivers/packddir/files/patch-upackddir.c b/archivers/packddir/files/patch-upackddir.c
new file mode 100644
index 000000000000..64a51e301916
--- /dev/null
+++ b/archivers/packddir/files/patch-upackddir.c
@@ -0,0 +1,20 @@
+--- upackddir.c.orig 2009-08-22 04:48:16.000000000 +0900
++++ upackddir.c 2009-08-22 04:48:39.000000000 +0900
+@@ -253,7 +253,7 @@
+ }
+
+ /* Let's jump to the beginning of our sweet data */
+- (char *) mapped += n;
++ mapped += n;
+
+ for (i = 0; i < pack->numfiles; i++) {
+ fprintf(stderr, "%s\n", mapped->name);
+@@ -297,7 +297,7 @@
+ }
+
+ /* Let's jump to the beginning of our sweet data */
+- (char *) mapped += n;
++ mapped += n;
+
+ for (i = 0; i < pack->numfiles; i++) {
+ if (strcmp(name, mapped->name) == 0) {