]> git.pld-linux.org Git - packages/rpm.git/blob - rpm-header_h.patch
- fixed (finally?) GConf scripts, rel 0.6
[packages/rpm.git] / rpm-header_h.patch
1 diff -Nur --exclude *~ rpm-4.0.2/lib/header.h rpm-4.0.2.new/lib/header.h
2 --- rpm-4.0.2/lib/header.h      Wed Feb 14 16:19:41 2001
3 +++ rpm-4.0.2.new/lib/header.h  Fri May 18 00:08:13 2001
4 @@ -66,7 +66,7 @@
5  /* WARNING: 1 means success, 0 means failure (yes, this is backwards) */
6  
7  #include <stdio.h>
8 -#include <rpmio.h>
9 +#include "rpmio.h"
10  
11  #ifdef __cplusplus
12  extern "C" {
13 @@ -702,7 +702,7 @@
14  {
15      if (data) {
16         /*@-branchstate@*/
17 -       if (type == -1 ||
18 +       if ((int)type == -1 ||
19             type == RPM_STRING_ARRAY_TYPE ||
20             type == RPM_I18NSTRING_TYPE ||
21             type == RPM_BIN_TYPE)
22 @@ -713,7 +713,7 @@
23  }
24  
25  #if !defined(__HEADER_PROTOTYPES__)
26 -#include <hdrinline.h>
27 +#include "hdrinline.h"
28  #endif
29  
30  #ifdef __cplusplus
This page took 0.026484 seconds and 3 git commands to generate.