summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-04-29 07:53:42 +0000
committerPeter Volkov <pva@gentoo.org>2008-04-29 07:53:42 +0000
commit0ace3fecb83a66b9863b3fb9512a8550ef72c132 (patch)
tree7753a760987a83bfca56c7478093ddc50c1f2423 /app-arch/rpm2targz/files
parentStable for HPPA (bug #219688). (diff)
downloadgentoo-2-0ace3fecb83a66b9863b3fb9512a8550ef72c132.tar.gz
gentoo-2-0ace3fecb83a66b9863b3fb9512a8550ef72c132.tar.bz2
gentoo-2-0ace3fecb83a66b9863b3fb9512a8550ef72c132.zip
Increased RPMBUFSIZ to allow rpm2targz unpack Nessus binaries, thank Cyberjun, bug #187219.
(Portage version: 2.1.4.4)
Diffstat (limited to 'app-arch/rpm2targz/files')
-rw-r--r--app-arch/rpm2targz/files/rpm2targz-9.0-increase-RPMBUFSIZ.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-arch/rpm2targz/files/rpm2targz-9.0-increase-RPMBUFSIZ.patch b/app-arch/rpm2targz/files/rpm2targz-9.0-increase-RPMBUFSIZ.patch
new file mode 100644
index 000000000000..acf1b5d60115
--- /dev/null
+++ b/app-arch/rpm2targz/files/rpm2targz-9.0-increase-RPMBUFSIZ.patch
@@ -0,0 +1,11 @@
+--- rpmoffset.c.orig 2008-04-29 10:39:13.000000000 +0400
++++ rpmoffset.c 2008-04-29 10:39:57.000000000 +0400
+@@ -10,7 +10,7 @@
+ /* chunk of RAM right away so that we have enough. Yeah, horrible */
+ /* quick and dirty implementation, but hey -- it gets the job done. */
+
+-#define RPMBUFSIZ 2097152
++#define RPMBUFSIZ 3145728
+
+ main()
+ {