diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-07-22 10:31:03 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-07-22 10:31:03 +0000 |
commit | e4e8e1084d0306cfc488cb7f5306f111dabbbb6c (patch) | |
tree | 7c50817a8bb53cb4bb9ddc9b70d81bcc822b4750 /media-video/cinepaint/files/cinepaint-0.22.1-gcc43.patch | |
parent | Version bump. Fix LICENSE. (diff) | |
download | gentoo-2-e4e8e1084d0306cfc488cb7f5306f111dabbbb6c.tar.gz gentoo-2-e4e8e1084d0306cfc488cb7f5306f111dabbbb6c.tar.bz2 gentoo-2-e4e8e1084d0306cfc488cb7f5306f111dabbbb6c.zip |
Fix build with gcc 4.3, bug #230321, fix a bunch of trivial implicit declarations warnings, remove the build dir runpath, bug #215203.
(Portage version: 2.2_rc1/cvs/Linux 2.6.25.7 x86_64)
Diffstat (limited to 'media-video/cinepaint/files/cinepaint-0.22.1-gcc43.patch')
-rw-r--r-- | media-video/cinepaint/files/cinepaint-0.22.1-gcc43.patch | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/media-video/cinepaint/files/cinepaint-0.22.1-gcc43.patch b/media-video/cinepaint/files/cinepaint-0.22.1-gcc43.patch new file mode 100644 index 000000000000..64ba76099cbf --- /dev/null +++ b/media-video/cinepaint/files/cinepaint-0.22.1-gcc43.patch @@ -0,0 +1,73 @@ +Index: cinepaint-0.22-1/plug-ins/bracketing_to_hdr/br_core/ResponseSolver.hpp +=================================================================== +--- cinepaint-0.22-1.orig/plug-ins/bracketing_to_hdr/br_core/ResponseSolver.hpp ++++ cinepaint-0.22-1/plug-ins/bracketing_to_hdr/br_core/ResponseSolver.hpp +@@ -34,6 +34,7 @@ + + + #include <fstream> ++#include <cstring> + #include "TNT/tnt_misc.hpp" // proof_least_square_fit() + #include "TNT/tnt_stopwatch.hpp" + #include "TNT/jama_qr.hpp" // JAMA::QR +Index: cinepaint-0.22-1/plug-ins/bracketing_to_hdr/br_core/br_Image.cpp +=================================================================== +--- cinepaint-0.22-1.orig/plug-ins/bracketing_to_hdr/br_core/br_Image.cpp ++++ cinepaint-0.22-1/plug-ins/bracketing_to_hdr/br_core/br_Image.cpp +@@ -26,6 +26,7 @@ + */ + #include <iostream> + #include <cmath> // pow() ++#include <cstring> + + #include "br_types.hpp" // ImageID + #include "br_enums.hpp" // DataType, ReportWhat +Index: cinepaint-0.22-1/plug-ins/icc_examin/icc_examin/icc_oyranos_extern.cpp +=================================================================== +--- cinepaint-0.22-1.orig/plug-ins/icc_examin/icc_examin/icc_oyranos_extern.cpp ++++ cinepaint-0.22-1/plug-ins/icc_examin/icc_examin/icc_oyranos_extern.cpp +@@ -29,6 +29,7 @@ + + #include "icc_utils.h" + #include "icc_fenster.h" ++#include <cstdlib> + + using namespace icc_examin_ns; + +Index: cinepaint-0.22-1/plug-ins/icc_examin/icc_examin/icc_speicher.h +=================================================================== +--- cinepaint-0.22-1.orig/plug-ins/icc_examin/icc_examin/icc_speicher.h ++++ cinepaint-0.22-1/plug-ins/icc_examin/icc_examin/icc_speicher.h +@@ -33,6 +33,8 @@ + + #include "icc_utils.h" + #include <string> ++#include <cstdlib> ++#include <cstring> + + #define DBG_SPEICHER_START if(icc_debug >= 3) DBG_PROG_START + #define DBG_SPEICHER_ENDE if(icc_debug >= 3) DBG_PROG_ENDE +Index: cinepaint-0.22-1/plug-ins/icc_examin/icc_examin/threads.cpp +=================================================================== +--- cinepaint-0.22-1.orig/plug-ins/icc_examin/icc_examin/threads.cpp ++++ cinepaint-0.22-1/plug-ins/icc_examin/icc_examin/threads.cpp +@@ -42,6 +42,7 @@ + #include <iostream> + # if HAVE_PTHREAD_H + // Use POSIX threading... ++#include <climits> + + int fl_create_thread(Fl_Thread& t, void *(*f) (void *), void* p) + { +Index: cinepaint-0.22-1/plug-ins/pdf/pdf.cpp +=================================================================== +--- cinepaint-0.22-1.orig/plug-ins/pdf/pdf.cpp ++++ cinepaint-0.22-1/plug-ins/pdf/pdf.cpp +@@ -39,6 +39,7 @@ + + #include "pdf.h" + #include "pdf_dialog.h" ++#include <cstring> + + extern "C" { + #include <gtk/gtk.h> |