[packages/rpm] - patch also c++ version of the rpmqv.c

baggins baggins at pld-linux.org
Fri Nov 15 12:49:39 CET 2013


commit ff08f2c116becafe4ce42e6ed8e01838ca4a4112
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Nov 15 12:48:44 2013 +0100

    - patch also c++ version of the rpmqv.c

 rpm-nosetproctitle.patch | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
---
diff --git a/rpm-nosetproctitle.patch b/rpm-nosetproctitle.patch
index 1dd0f55..71d4638 100644
--- a/rpm-nosetproctitle.patch
+++ b/rpm-nosetproctitle.patch
@@ -45,3 +45,23 @@
      (void) finiproctitle();
  #endif
  
+--- rpm-5.4.14/rpmqv.cc.orig	2012-07-06 17:39:16.000000000 +0200
++++ rpm-5.4.14/rpmqv.cc	2013-04-06 21:52:12.351905402 +0200
+@@ -450,7 +450,7 @@ int main(int argc, const char ** argv)
+     environ = envp;
+ #else
+ /* XXX limit the fiddle up to linux for now. */
+-#if !defined(HAVE_SETPROCTITLE) && defined(__linux__)
++#if 0 && !defined(HAVE_SETPROCTITLE) && defined(__linux__)
+     (void) initproctitle(argc, (char **)argv, environ);
+ #endif
+ #endif  
+@@ -1117,7 +1117,7 @@ exit:
+     optCon = rpmcliFini(optCon);
+ 
+ /* XXX limit the fiddle up to linux for now. */
+-#if !defined(HAVE_SETPROCTITLE) && defined(__linux__)
++#if 0 && !defined(HAVE_SETPROCTITLE) && defined(__linux__)
+     (void) finiproctitle();
+ #endif
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm.git/commitdiff/ff08f2c116becafe4ce42e6ed8e01838ca4a4112



More information about the pld-cvs-commit mailing list