1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Add patch in order to fix the build with gcc 4.1 and set WRKSRC accordingly

Reported by:	kris
This commit is contained in:
Markus Brueffer 2006-12-13 23:43:55 +00:00
parent fe769fcec4
commit 1b288897d9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179689
2 changed files with 29 additions and 0 deletions

View File

@ -14,6 +14,7 @@ DISTNAME= PDITOOL
MAINTAINER= markus@FreeBSD.org
COMMENT= Extracts or converts .pdi file sets to .iso
WRKSRC= ${WRKDIR}
USE_ZIP= yes
PLIST_FILES= bin/pdixtract

View File

@ -0,0 +1,28 @@
--- pdixtract.c.orig Thu Dec 14 00:18:17 2006
+++ pdixtract.c Thu Dec 14 00:25:55 2006
@@ -79,6 +79,12 @@
char name [1];
};
+struct filedesc {
+ char *name;
+ size_t size; /* size in extents */
+ size_t extent;
+ int hits; /* flag for individual file selection */
+};
char buffer[BUFFSIZE];
struct filedesc files[MAX_FILES];
@@ -106,12 +112,6 @@
exit(1);
}
-struct filedesc {
- char *name;
- size_t size; /* size in extents */
- size_t extent;
- int hits; /* flag for individual file selection */
-};
/* helper for qsort, compares extents of 2 filedescs */