1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-19 19:50:31 -04:00
ports/archivers/packddir/files/patch-upackddir.c
Mathieu Arnold 9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00

20 lines
551 B
C

--- upackddir.c.orig 2004-01-17 12:08:52 UTC
+++ upackddir.c
@@ -253,7 +253,7 @@ int packfile_extract(char *packfile, int
}
/* 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 @@ int packfile_extract_filename(char *pack
}
/* 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) {