diff --git a/ipv6/mrd6/patches/004-fix-includes.patch b/ipv6/mrd6/patches/004-fix-includes.patch new file mode 100644 index 000000000..4eccaeb7d --- /dev/null +++ b/ipv6/mrd6/patches/004-fix-includes.patch @@ -0,0 +1,25 @@ +diff --git a/src/address.cpp b/src/address.cpp +index 453ad42..9f4cf46 100644 +--- a/src/address.cpp ++++ b/src/address.cpp +@@ -28,6 +28,8 @@ + #include + + #include ++#include ++#include + + base_stream &operator << (base_stream &os, const inet6_addr &addr) { + os.commit_change(addr.print_string(os.req_buffer(64), 64)); +diff --git a/include/mrd/address.h b/include/mrd/address.h +index 80c8e45..1d2a495 100644 +--- a/include/mrd/address.h ++++ b/include/mrd/address.h +@@ -31,6 +31,7 @@ + #include + #include + #include ++#include + + class base_stream; + diff --git a/lang/urbi/patches/005-fix-gcc_4_3-compile.patch b/lang/urbi/patches/005-fix-gcc_4_3-compile.patch new file mode 100644 index 000000000..6fd3b77b4 --- /dev/null +++ b/lang/urbi/patches/005-fix-gcc_4_3-compile.patch @@ -0,0 +1,12 @@ +diff --git a/libport/semaphore.hxx b/libport/semaphore.hxx +index bb2546d..38b0d8e 100644 +--- a/libport/semaphore.hxx ++++ b/libport/semaphore.hxx +@@ -5,6 +5,7 @@ + # include "exception.hh" + # include + # include ++# include + + namespace libport + { diff --git a/libs/opal/patches/010-fix-gcc_4_3-compile.patch b/libs/opal/patches/010-fix-gcc_4_3-compile.patch new file mode 100644 index 000000000..15d80b417 --- /dev/null +++ b/libs/opal/patches/010-fix-gcc_4_3-compile.patch @@ -0,0 +1,25 @@ +diff --git a/plugins/video/common/trace.cxx b/plugins/video/common/trace.cxx +index 7262478..de641af 100644 +--- a/plugins/video/common/trace.cxx ++++ b/plugins/video/common/trace.cxx +@@ -30,6 +30,7 @@ + /*****************************************************************************/ + + #include "trace.h" ++#include + + #ifdef __MACOSX__ + #include +diff --git a/plugins/video/H.263-ffmpeg/h263ffmpeg.cxx b/plugins/video/H.263-ffmpeg/h263ffmpeg.cxx +index 4a17b2c..a2f051c 100644 +--- a/plugins/video/H.263-ffmpeg/h263ffmpeg.cxx ++++ b/plugins/video/H.263-ffmpeg/h263ffmpeg.cxx +@@ -54,6 +54,8 @@ + #define _CRT_NONSTDC_NO_WARNINGS + #define _CRT_SECURE_NO_DEPRECATE + #include ++#include ++#include + + #include + #ifdef _WIN32 diff --git a/libs/ptlib/patches/010-fix-gcc_4_3-compile.patch b/libs/ptlib/patches/010-fix-gcc_4_3-compile.patch new file mode 100644 index 000000000..2242794c6 --- /dev/null +++ b/libs/ptlib/patches/010-fix-gcc_4_3-compile.patch @@ -0,0 +1,13 @@ +diff --git a/src/ptclib/sockagg.cxx b/src/ptclib/sockagg.cxx +index a8f89d2..c1960f6 100644 +--- a/src/ptclib/sockagg.cxx ++++ b/src/ptclib/sockagg.cxx +@@ -38,6 +38,7 @@ + + #include + #include +- ++#include ++ + #define new PNEW + diff --git a/net/amule/patches/010-fix-gcc_4_3-compile.patch b/net/amule/patches/010-fix-gcc_4_3-compile.patch new file mode 100644 index 000000000..d6c6261f1 --- /dev/null +++ b/net/amule/patches/010-fix-gcc_4_3-compile.patch @@ -0,0 +1,13 @@ +diff --git a/src/ExternalConnector.h b/src/ExternalConnector.h +index 3d214f6..30d12a7 100644 +--- a/src/ExternalConnector.h ++++ b/src/ExternalConnector.h +@@ -143,7 +143,7 @@ public: + bool Parse_Command(const wxString& buffer); + void GetCommand(const wxString &prompt, char* buffer, size_t buffer_size); + const CECPacket *SendRecvMsg_v2(const CECPacket *request) { return m_ECClient->SendRecvPacket(request); } +- void ConnectAndRun(const wxString &ProgName, const wxString& ProgName); ++ void ConnectAndRun(const wxString &ProgName, const wxString& ProgVersion); + void ShowGreet(); + + // diff --git a/net/mutella/Makefile b/net/mutella/Makefile index bbe22e14f..aa1b3149a 100644 --- a/net/mutella/Makefile +++ b/net/mutella/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mutella PKG_VERSION:=0.4.5 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/$(PKG_NAME) diff --git a/net/mutella/patches/003-gcc4_3_fixes.patch b/net/mutella/patches/003-gcc4_3_fixes.patch new file mode 100644 index 000000000..f7be59dc6 --- /dev/null +++ b/net/mutella/patches/003-gcc4_3_fixes.patch @@ -0,0 +1,34 @@ +diff --git a/mutella/common.h b/mutella/common.h +--- a/mutella/common.h ++++ b/mutella/common.h +@@ -50,7 +50,7 @@ CString restore_string(CString s, bool bFormMode = true); + bool QueryMatch(CString Result, const CString& Query); + // fast functions which do not copy the string + void MakeWordList(LPSTR szQuery, vector& QWords); +-void MakeWordList(LPSTR szQuery, vector& QWords, vector& QWords); ++void MakeWordList(LPSTR szQuery, vector& QWordsInc, vector&QWordsExc); + bool MatchWordList(const CString& ResultLower, const vector& QWords, bool bMatchAll = true); + + // slower but 'storage-independent' versions +diff --git a/mutella/mutella.h b/mutella/mutella.h +--- a/mutella/mutella.h ++++ b/mutella/mutella.h +@@ -79,6 +79,7 @@ using std::insert_iterator; + #include + #include + #include ++#include + + // library-type includes + #include "defines.h" +diff --git a/mutella/tstring.h b/mutella/tstring.h +--- a/mutella/tstring.h ++++ b/mutella/tstring.h +@@ -22,6 +22,7 @@ + #define __TSTRING_H__INCLUDED__ + + #include ++#include + #include + + #ifdef TSTRING_DEBUG diff --git a/net/peerguardian/patches/003-gcc_4_3-compile-fix.patch b/net/peerguardian/patches/003-gcc_4_3-compile-fix.patch new file mode 100644 index 000000000..fb750dade --- /dev/null +++ b/net/peerguardian/patches/003-gcc_4_3-compile-fix.patch @@ -0,0 +1,24 @@ +diff --git a/Main.cpp b/Main.cpp +index 0a5ae59..0c5274c 100755 +--- a/Main.cpp ++++ b/Main.cpp +@@ -25,6 +25,7 @@ + #include + #include + #include ++#include + + using namespace PG; + using namespace std; +diff --git a/PeerGuard.h b/PeerGuard.h +index 3d0d31c..7e1d0f7 100755 +--- a/PeerGuard.h ++++ b/PeerGuard.h +@@ -24,6 +24,7 @@ + #include "BlockList.h" + + #include ++#include + + namespace PG { + diff --git a/net/tctool/patches/005-fix-gcc_4_3-compile.patch b/net/tctool/patches/005-fix-gcc_4_3-compile.patch new file mode 100644 index 000000000..76008b902 --- /dev/null +++ b/net/tctool/patches/005-fix-gcc_4_3-compile.patch @@ -0,0 +1,12 @@ +diff --git a/src/tctool.cpp b/src/tctool.cpp +index bbab13f..9ce8e5c 100644 +--- a/src/tctool.cpp ++++ b/src/tctool.cpp +@@ -33,6 +33,7 @@ + #include + #include + #include ++#include + + std::string options = "I:m:i:r:t:p:c:MUdsSCRh"; + std::string ethDev = "eth0";