Gentoo Archives: gentoo-commits

From: "Tiziano Mueller (dev-zero)" <dev-zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/poco/files: 1.3.2-missing_includes.patch 1.3.2-gentoo.patch
Date: Sun, 29 Jun 2008 01:21:06
Message-Id: E1KClbA-0001U0-UO@stork.gentoo.org
1 dev-zero 08/06/29 01:21:00
2
3 Added: 1.3.2-missing_includes.patch 1.3.2-gentoo.patch
4 Log:
5 Initial commit (bug #162846), ebuild written by me.
6 (Portage version: 2.2_rc1/cvs/Linux 2.6.24-gentoo-r8 x86_64)
7
8 Revision Changes Path
9 1.1 dev-libs/poco/files/1.3.2-missing_includes.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/poco/files/1.3.2-missing_includes.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/poco/files/1.3.2-missing_includes.patch?rev=1.1&content-type=text/plain
13
14 Index: 1.3.2-missing_includes.patch
15 ===================================================================
16 diff -Naur poco-1.3.2-data.orig/Data/ODBC/include/Poco/Data/ODBC/Diagnostics.h poco-1.3.2-data/Data/ODBC/include/Poco/Data/ODBC/Diagnostics.h
17 --- poco-1.3.2-data.orig/Data/ODBC/include/Poco/Data/ODBC/Diagnostics.h 2008-05-29 20:47:39.000000000 +0200
18 +++ poco-1.3.2-data/Data/ODBC/include/Poco/Data/ODBC/Diagnostics.h 2008-05-29 20:49:09.000000000 +0200
19 @@ -42,6 +42,7 @@
20
21 #include "Poco/Data/ODBC/ODBC.h"
22 #include <vector>
23 +#include <cstring>
24 #ifdef POCO_OS_FAMILY_WINDOWS
25 #include <windows.h>
26 #endif
27 diff -Naur poco-1.3.2-data.orig/Foundation/include/Poco/FIFOStrategy.h poco-1.3.2-data/Foundation/include/Poco/FIFOStrategy.h
28 --- poco-1.3.2-data.orig/Foundation/include/Poco/FIFOStrategy.h 2008-05-29 20:47:40.000000000 +0200
29 +++ poco-1.3.2-data/Foundation/include/Poco/FIFOStrategy.h 2008-05-29 22:01:36.000000000 +0200
30 @@ -42,7 +42,7 @@
31 #include "Poco/NotificationStrategy.h"
32 #include <map>
33 #include <list>
34 -
35 +#include <memory>
36
37 namespace Poco {
38
39 diff -Naur poco-1.3.2-data.orig/Foundation/include/Poco/HashTable.h poco-1.3.2-data/Foundation/include/Poco/HashTable.h
40 --- poco-1.3.2-data.orig/Foundation/include/Poco/HashTable.h 2008-05-29 20:47:40.000000000 +0200
41 +++ poco-1.3.2-data/Foundation/include/Poco/HashTable.h 2008-05-29 22:08:33.000000000 +0200
42 @@ -47,7 +47,7 @@
43 #include <vector>
44 #include <map>
45 #include <cstddef>
46 -
47 +#include <cstring>
48
49 namespace Poco {
50
51 diff -Naur poco-1.3.2-data.orig/Foundation/src/BinaryWriter.cpp poco-1.3.2-data/Foundation/src/BinaryWriter.cpp
52 --- poco-1.3.2-data.orig/Foundation/src/BinaryWriter.cpp 2008-05-29 20:47:40.000000000 +0200
53 +++ poco-1.3.2-data/Foundation/src/BinaryWriter.cpp 2008-05-29 20:48:05.000000000 +0200
54 @@ -33,6 +33,7 @@
55 // DEALINGS IN THE SOFTWARE.
56 //
57
58 +#include <cstring>
59
60 #include "Poco/BinaryWriter.h"
61 #include "Poco/ByteOrder.h"
62 diff -Naur poco-1.3.2-data.orig/Foundation/src/File_UNIX.cpp poco-1.3.2-data/Foundation/src/File_UNIX.cpp
63 --- poco-1.3.2-data.orig/Foundation/src/File_UNIX.cpp 2008-05-29 20:47:40.000000000 +0200
64 +++ poco-1.3.2-data/Foundation/src/File_UNIX.cpp 2008-05-29 20:48:05.000000000 +0200
65 @@ -33,6 +33,7 @@
66 // DEALINGS IN THE SOFTWARE.
67 //
68
69 +#include <cstring>
70
71 #include "Poco/File_UNIX.h"
72 #include "Poco/Buffer.h"
73
74
75
76 1.1 dev-libs/poco/files/1.3.2-gentoo.patch
77
78 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/poco/files/1.3.2-gentoo.patch?rev=1.1&view=markup
79 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/poco/files/1.3.2-gentoo.patch?rev=1.1&content-type=text/plain
80
81 Index: 1.3.2-gentoo.patch
82 ===================================================================
83 diff -Naur poco-1.3.2-data.orig/components poco-1.3.2-data/components
84 --- poco-1.3.2-data.orig/components 2008-05-29 16:54:08.000000000 +0200
85 +++ poco-1.3.2-data/components 2008-05-29 16:58:26.000000000 +0200
86 @@ -2,8 +2,4 @@
87 XML
88 Util
89 Net
90 -NetSSL_OpenSSL
91 Data
92 -Data/SQLite
93 -Data/ODBC
94 -CppUnit
95 diff -Naur poco-1.3.2-data.orig/Data/ODBC/Makefile poco-1.3.2-data/Data/ODBC/Makefile
96 --- poco-1.3.2-data.orig/Data/ODBC/Makefile 2008-05-29 16:54:08.000000000 +0200
97 +++ poco-1.3.2-data/Data/ODBC/Makefile 2008-05-29 16:56:05.000000000 +0200
98 @@ -8,11 +8,11 @@
99
100 include $(POCO_BASE)/build/rules/global
101
102 -ifeq (0, $(shell test -e /usr/lib/libodbc$(SHAREDLIBLINKEXT); echo $$?))
103 +ifeq (unixodbc, $(GENTOO_ODBC))
104 SYSLIBS += -lodbc -lodbcinst
105 COMMONFLAGS += -DPOCO_UNIXODBC
106 else
107 -ifeq (0, $(shell test -e /usr/lib/libiodbc$(SHAREDLIBLINKEXT); echo $$?))
108 +ifeq (iodbc, $(GENTOO_ODBC))
109 SYSLIBS += -liodbc -liodbcinst
110 COMMONFLAGS += -DPOCO_IODBC
111 else
112 diff -Naur poco-1.3.2-data.orig/Makefile poco-1.3.2-data/Makefile
113 --- poco-1.3.2-data.orig/Makefile 2008-05-29 16:54:08.000000000 +0200
114 +++ poco-1.3.2-data/Makefile 2008-05-29 20:32:35.000000000 +0200
115 @@ -17,17 +17,17 @@
116
117 .PHONY: all libexecs cppunit tests samples install
118
119 -all: libexecs tests samples
120 +all: libexecs
121
122 INSTALLDIR = $(DESTDIR)$(POCO_PREFIX)
123 -COMPONENTS = Foundation XML Util Net NetSSL_OpenSSL Data Data/SQLite Data/ODBC
124 +COMPONENTS = Foundation XML Util Net Data
125
126 cppunit:
127 $(MAKE) -C $(POCO_BASE)/CppUnit
128
129 install: libexecs
130 mkdir -p $(INSTALLDIR)/include/Poco
131 - mkdir -p $(INSTALLDIR)/lib
132 + mkdir -p $(INSTALLDIR)/$(LIBDIR)
133 mkdir -p $(INSTALLDIR)/bin
134 for comp in $(COMPONENTS) ; do \
135 if [ -d "$(POCO_BASE)/$$comp/include" ] ; then \
136 @@ -37,14 +37,14 @@
137 find $(POCO_BUILD)/$$comp/bin -perm -700 -type f -exec cp -Rf {} $(INSTALLDIR)/bin \; ; \
138 fi ; \
139 done
140 - find $(POCO_BUILD)/lib -name "libPoco*" -exec cp -Rf {} $(INSTALLDIR)/lib \;
141 + find $(POCO_BUILD)/$(LIBDIR) -name "libPoco*" -exec cp -Rf {} $(INSTALLDIR)/$(LIBDIR) \;
142
143 .PHONY: Foundation-libexec XML-libexec Util-libexec Net-libexec NetSSL_OpenSSL-libexec Data-libexec Data/SQLite-libexec Data/ODBC-libexec
144 .PHONY: Foundation-tests XML-tests Util-tests Net-tests NetSSL_OpenSSL-tests Data-tests Data/SQLite-tests Data/ODBC-tests
145 .PHONY: Foundation-samples XML-samples Util-samples Net-samples NetSSL_OpenSSL-samples Data-samples
146
147 -libexecs: Foundation-libexec XML-libexec Util-libexec Net-libexec NetSSL_OpenSSL-libexec Data-libexec Data/SQLite-libexec Data/ODBC-libexec
148 -tests: Foundation-tests XML-tests Util-tests Net-tests NetSSL_OpenSSL-tests Data-tests Data/SQLite-tests Data/ODBC-tests
149 +libexecs: Foundation-libexec XML-libexec Util-libexec Net-libexec Data-libexec
150 +tests: Foundation-tests XML-tests Util-tests Net-tests Data-tests
151 samples: Foundation-samples XML-samples Util-samples Net-samples NetSSL_OpenSSL-samples Data-samples
152
153 Foundation-libexec:
154
155
156
157 --
158 gentoo-commits@l.g.o mailing list