[packages/poldek] Added -missing-include.patch (fixes crash on x32)
megabajt
megabajt at pld-linux.org
Sun Feb 22 02:17:08 CET 2015
commit 1cf9975a4915d002df0c0c015510b9daf98ac503
Author: Marcin Banasiak <marcin.banasiak at gmail.com>
Date: Sun Feb 22 02:16:11 2015 +0100
Added -missing-include.patch (fixes crash on x32)
poldek-missing-include.patch | 16 ++++++++++++++++
poldek.spec | 2 ++
2 files changed, 18 insertions(+)
---
diff --git a/poldek.spec b/poldek.spec
index 1401d34..c9aee19 100644
--- a/poldek.spec
+++ b/poldek.spec
@@ -56,6 +56,7 @@ Source101: %{name}-multilib-snap.conf
Source102: %{name}-debuginfo-snap.conf
Patch0: %{name}-size-type.patch
Patch1: %{name}-config.patch
+Patch2: %{name}-missing-include.patch
URL: http://poldek.pld-linux.org/
BuildRequires: %{db_pkg}-devel >= %{ver_db}-%{ver_db_rel}
BuildRequires: autoconf
@@ -218,6 +219,7 @@ Moduły języka Python dla poldka.
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%{__rm} m4/libtool.m4 m4/lt*.m4
diff --git a/poldek-missing-include.patch b/poldek-missing-include.patch
new file mode 100644
index 0000000..d9271f9
--- /dev/null
+++ b/poldek-missing-include.patch
@@ -0,0 +1,16 @@
+--- a/trurlib/nmalloc.c
++++ b/trurlib/nmalloc.c
+@@ -18,9 +18,10 @@
+ Boston, MA 02111-1307, USA.
+ */
+
+-/*
+- $Id$
+- */
++#if HAVE_CONFIG_H
++# include "config.h"
++#endif
++
+ #include <stddef.h>
+ #include <stdio.h>
+ #include <stdlib.h>
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/poldek.git/commitdiff/1cf9975a4915d002df0c0c015510b9daf98ac503
More information about the pld-cvs-commit
mailing list