summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/dependencies/libr/debian/patches/000-fix-stack-smashing.diff
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2014-12-27 08:15:49 -0600
committerSlávek Banko <[email protected]>2018-07-14 15:38:40 +0200
commitd1f8a4b87e7fe68867dbfac671d9fecd5c76ab4c (patch)
tree7e491fbedba17c2261d9e759eebfeb0bad910e08 /ubuntu/maverick/dependencies/libr/debian/patches/000-fix-stack-smashing.diff
parent8bb2f63591a9168b8621cd3a4a7359eb1b40426a (diff)
downloadtde-packaging-d1f8a4b87e7fe68867dbfac671d9fecd5c76ab4c.tar.gz
tde-packaging-d1f8a4b87e7fe68867dbfac671d9fecd5c76ab4c.zip
Initial import of libr packaging files
(cherry picked from commit d13c79dd9536e8c57e117e5503d4c0226b0f066b)
Diffstat (limited to 'ubuntu/maverick/dependencies/libr/debian/patches/000-fix-stack-smashing.diff')
-rw-r--r--ubuntu/maverick/dependencies/libr/debian/patches/000-fix-stack-smashing.diff24
1 files changed, 24 insertions, 0 deletions
diff --git a/ubuntu/maverick/dependencies/libr/debian/patches/000-fix-stack-smashing.diff b/ubuntu/maverick/dependencies/libr/debian/patches/000-fix-stack-smashing.diff
new file mode 100644
index 000000000..ae5862c79
--- /dev/null
+++ b/ubuntu/maverick/dependencies/libr/debian/patches/000-fix-stack-smashing.diff
@@ -0,0 +1,24 @@
+diff -ru libr-0.6.0~maverick/src/libr-bfd.h libr-0.6.0/src/libr-bfd.h
+--- libr-0.6.0~maverick/src/libr-bfd.h 2009-12-03 18:51:50.000000000 +0000
++++ libr-0.6.0/src/libr-bfd.h 2012-09-12 20:08:35.000000000 +0000
+@@ -1,6 +1,8 @@
+ #ifndef __LIBR_BFD_H
+ #define __LIBR_BFD_H
+
++#include "config.h"
++
+ #include <sys/types.h>
+ #include <stdint.h>
+ #include <bfd.h>
+diff -ru libr-0.6.0~maverick/src/libr-internal.h libr-0.6.0/src/libr-internal.h
+--- libr-0.6.0~maverick/src/libr-internal.h 2010-05-01 19:07:32.000000000 +0000
++++ libr-0.6.0/src/libr-internal.h 2012-09-12 20:08:35.000000000 +0000
+@@ -7,7 +7,7 @@
+ #define EXPORT_FN __attribute__((visibility ("protected")))
+ #define INTERNAL_FN __attribute__ ((visibility ("internal")))
+ #define LIBR_TEMPFILE "/tmp/libr-temp.XXXXXX"
+-#define LIBR_TEMPFILE_LEN 21
++#define LIBR_TEMPFILE_LEN 22
+
+ #ifndef DOXYGEN_SHOULD_SKIP_THIS
+