added gcc43 patch

This commit is contained in:
ensc 2008-02-26 21:48:23 +00:00
parent 206b367d73
commit a8f2c04328
2 changed files with 26 additions and 0 deletions

24
gcc43.patch Normal file
View File

@ -0,0 +1,24 @@
From 830193235868354d28a7cbe22bb68260bf01e753 Mon Sep 17 00:00:00 2001
From: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Date: Tue, 26 Feb 2008 22:45:15 +0100
Subject: [PATCH] gcc43
---
src/cpp/packetsocket.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/cpp/packetsocket.cpp b/src/cpp/packetsocket.cpp
index 4dd8567..2e314bc 100644
--- a/src/cpp/packetsocket.cpp
+++ b/src/cpp/packetsocket.cpp
@@ -53,6 +53,7 @@
#include <iostream>
#include <sstream>
#include <cstdio>
+#include <cstdlib>
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
--
1.5.4.1

View File

@ -19,6 +19,7 @@ Patch101: added-virtual-destructors-for-classes-with-virtual-m.patch
Patch102: fixed-broken-format-string-modifiers-for-size_t-type.patch
Patch103: fixed-extra-classname-specification.patch
Patch104: fixed-uninitialised-usage-of-buffer-attribute.patch
Patch105: gcc43.patch
BuildRoot: %_tmppath/%name-%version-%release-root
#BuildRequires: w3c-libwww-devel
@ -66,6 +67,7 @@ This package contains some handy XML-RPC demo applications.
%patch102 -p1
%patch103 -p1
%patch104 -p1
%patch105 -p1
## not needed...
rm doc/{INSTALL,configure_doc}