added struct sources
authormarc <devnull@localhost>
Wed, 27 Dec 1995 16:40:02 +0000 (16:40 +0000)
committermarc <devnull@localhost>
Wed, 27 Dec 1995 16:40:02 +0000 (16:40 +0000)
CVS patchset: 87
CVS date: 1995/12/27 16:40:02

build/specP.h

index 7496d90..6b2aaf3 100644 (file)
@@ -5,8 +5,17 @@
 #include "header.h"
 #include "stringbuf.h"
 
+typedef struct sources {
+    char *fullSource;
+    char *source;
+    int ispatch;
+    int num;
+    struct sources *next;
+} *Sources;
+
 struct SpecRec {
     char *name;      /* package base name */
+    Sources sources;
     StringBuf prep;
     StringBuf build;
     StringBuf install;
@@ -23,7 +32,7 @@ struct PackageRec {
     char *subname;   /* If both of these are NULL, then this is          */
     char *newname;   /* the main package.  subname concats with name     */
     Header header;
-    int files;       /* If 0, package has no files, and won't be written */
+    int files;       /* If -1, package has no files, and won't be written */
     StringBuf filelist;
     struct PackageRec *next;
 };