]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm-header_h.patch
- Allow to disable '__debug_install_post'
[packages/rpm.git] / rpm-header_h.patch
index dfbd54fd287e8feb3ea37494ec88b8696b1e17cb..8a1dd274b7e5b957c40680445aee4fcf42f5b28f 100644 (file)
@@ -10,3 +10,21 @@ diff -Nur --exclude *~ rpm-4.0.2/lib/header.h rpm-4.0.2.new/lib/header.h
  
  #ifdef __cplusplus
  extern "C" {
+@@ -702,7 +702,7 @@
+ {
+     if (data) {
+       /*@-branchstate@*/
+-      if (type == -1 ||
++      if ((int)type == -1 ||
+           type == RPM_STRING_ARRAY_TYPE ||
+           type == RPM_I18NSTRING_TYPE ||
+           type == RPM_BIN_TYPE)
+@@ -713,7 +713,7 @@
+ }
+ #if !defined(__HEADER_PROTOTYPES__)
+-#include <hdrinline.h>
++#include "hdrinline.h"
+ #endif
+ #ifdef __cplusplus
This page took 0.027149 seconds and 4 git commands to generate.