]>
Commit | Line | Data |
---|---|---|
c0fe6b09 JB |
1 | --- rpm-5.4.10/misc/librpmmisc.c.orig 2009-05-29 21:04:21.000000000 +0200 |
2 | +++ rpm-5.4.10/misc/librpmmisc.c 2013-04-06 21:52:32.825238309 +0200 | |
3 | @@ -33,7 +33,7 @@ | |
4 | #endif | |
5 | ||
6 | /* XXX limit the fiddle up to linux for now. */ | |
7 | -#if !defined(HAVE_SETPROCTITLE) && defined(__linux__) | |
8 | +#if 0 && !defined(HAVE_SETPROCTITLE) && defined(__linux__) | |
9 | #include "setproctitle.c" | |
10 | #endif | |
11 | ||
12 | --- rpm-5.4.10/configure.ac.orig 2013-04-06 15:51:42.965689560 +0200 | |
13 | +++ rpm-5.4.10/configure.ac 2013-04-06 21:52:57.755237789 +0200 | |
14 | @@ -945,13 +945,6 @@ if test $ac_cv_func_syslog = no; then | |
15 | done | |
16 | fi | |
17 | ||
18 | -AC_CHECK_FUNCS(setproctitle) | |
19 | -if test $ac_cv_func_setproctitle = no; then | |
20 | - # setproctitle is not in the default libraries. See if it's in some other. | |
21 | - AC_CHECK_LIB(setproctitle, setproctitle, [AC_DEFINE(HAVE_SETPROCTITLE) | |
22 | - LIBS="$LIBS -lsetproctitle"]) | |
23 | -fi | |
24 | - | |
25 | dnl # Check how to find out the amount of physical memory in the system. The | |
26 | dnl # xz command line tool uses this to automatically limit its memory usage. | |
27 | dnl # - sysconf() gives all the needed info on GNU+Linux and Solaris. | |
28 | --- rpm-5.4.10/rpmqv.c.orig 2012-07-06 17:39:16.000000000 +0200 | |
29 | +++ rpm-5.4.10/rpmqv.c 2013-04-06 21:52:12.351905402 +0200 | |
30 | @@ -450,7 +450,7 @@ int main(int argc, const char ** argv) | |
31 | environ = envp; | |
32 | #else | |
33 | /* XXX limit the fiddle up to linux for now. */ | |
34 | -#if !defined(HAVE_SETPROCTITLE) && defined(__linux__) | |
35 | +#if 0 && !defined(HAVE_SETPROCTITLE) && defined(__linux__) | |
36 | (void) initproctitle(argc, (char **)argv, environ); | |
37 | #endif | |
38 | #endif | |
39 | @@ -1117,7 +1117,7 @@ exit: | |
40 | optCon = rpmcliFini(optCon); | |
41 | ||
42 | /* XXX limit the fiddle up to linux for now. */ | |
43 | -#if !defined(HAVE_SETPROCTITLE) && defined(__linux__) | |
44 | +#if 0 && !defined(HAVE_SETPROCTITLE) && defined(__linux__) | |
45 | (void) finiproctitle(); | |
46 | #endif | |
47 | ||
ff08f2c1 JR |
48 | --- rpm-5.4.14/rpmqv.cc.orig 2012-07-06 17:39:16.000000000 +0200 |
49 | +++ rpm-5.4.14/rpmqv.cc 2013-04-06 21:52:12.351905402 +0200 | |
50 | @@ -450,7 +450,7 @@ int main(int argc, const char ** argv) | |
51 | environ = envp; | |
52 | #else | |
53 | /* XXX limit the fiddle up to linux for now. */ | |
54 | -#if !defined(HAVE_SETPROCTITLE) && defined(__linux__) | |
55 | +#if 0 && !defined(HAVE_SETPROCTITLE) && defined(__linux__) | |
56 | (void) initproctitle(argc, (char **)argv, environ); | |
57 | #endif | |
58 | #endif | |
59 | @@ -1117,7 +1117,7 @@ exit: | |
60 | optCon = rpmcliFini(optCon); | |
61 | ||
62 | /* XXX limit the fiddle up to linux for now. */ | |
63 | -#if !defined(HAVE_SETPROCTITLE) && defined(__linux__) | |
64 | +#if 0 && !defined(HAVE_SETPROCTITLE) && defined(__linux__) | |
65 | (void) finiproctitle(); | |
66 | #endif | |
67 |