OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 01-Aug-2003 08:47:37
Branch: OPENPKG_1_3_SOLID Handle: 2003080107473600
Modified files: (Branch: OPENPKG_1_3_SOLID)
openpkg-src/mico mico.patch mico.spec
Log:
MFS: Qt/Gtk/Tcl fixes
Summary:
Revision Changes Path
1.1.2.1.2.1 +81 -0 openpkg-src/mico/mico.patch
1.16.2.2.2.2+19 -2 openpkg-src/mico/mico.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/mico/mico.patch
============================================================================
$ cvs diff -u -r1.1.2.1 -r1.1.2.1.2.1 mico.patch
--- openpkg-src/mico/mico.patch 24 Jul 2003 20:50:07 -0000 1.1.2.1
+++ openpkg-src/mico/mico.patch 1 Aug 2003 06:47:36 -0000 1.1.2.1.2.1
@@ -58,3 +58,84 @@
#if defined(HAVE_ISNANL)
return isnanl (d);
#elif defined(HAVE_ISNAN)
+diff -Naur mico.orig/auxdir/tclmico.cc mico/auxdir/tclmico.cc
+--- mico.orig/auxdir/tclmico.cc Fri Dec 11 14:24:55 1998
++++ mico/auxdir/tclmico.cc Wed Jul 30 16:14:17 2003
+@@ -46,9 +46,9 @@
+ TclDispatcher *disp = event->disp;
+ CORBA::Long handle = event->handle;
+
+- set<FileEvent *, less<FileEvent *> > seen;
++ std::set<FileEvent *, std::less<FileEvent *> > seen;
+ while (42) {
+- list<FileEvent *>::iterator i;
++ std::list<FileEvent *>::iterator i;
+ for (i = disp->fevents.begin(); i != disp->fevents.end(); ++i) {
+ if ((*i)->handle != handle)
+ continue;
+@@ -80,7 +80,7 @@
+ TimerEvent *event = (TimerEvent *)_event;
+ TclDispatcher *disp = event->disp;
+
+- list<TimerEvent *>::iterator i;
++ std::list<TimerEvent *>::iterator i;
+ for (i = disp->tevents.begin(); i != disp->tevents.end(); ++i) {
+ if ((*i) == event) {
+ disp->tevents.erase(i);
+@@ -97,13 +97,13 @@
+
+ TclDispatcher::~TclDispatcher ()
+ {
+- list<FileEvent *>::iterator i;
++ std::list<FileEvent *>::iterator i;
+ for (i = fevents.begin(); i != fevents.end(); ++i) {
+ (*i)->cb->callback (this, Remove);
+ delete *i;
+ }
+
+- list<TimerEvent *>::iterator j;
++ std::list<TimerEvent *>::iterator j;
+ for (j = tevents.begin(); j != tevents.end(); ++j) {
+ (*j)->cb->callback (this, Remove);
+ delete *j;
+@@ -123,7 +123,7 @@
+ ev = 0;
+ int mask = 0;
+
+- list<FileEvent *>::iterator i;
++ std::list<FileEvent *>::iterator i;
+ for (i = fevents.begin(); i != fevents.end(); ++i) {
+ if ((*i)->handle != handle)
+ continue;
+@@ -183,7 +183,7 @@
+ TclDispatcher::remove (CORBA::DispatcherCallback *cb, Event e)
+ {
+ if (e == All || e == Timer) {
+- list<TimerEvent *>::iterator i, next;
++ std::list<TimerEvent *>::iterator i, next;
+ for (i = tevents.begin(); i != tevents.end(); i = next) {
+ next = i;
+ ++next;
+@@ -195,7 +195,7 @@
+ }
+ }
+ if (e == All || e == Read || e == Write || e == Except) {
+- list<FileEvent *>::iterator i, next;
++ std::list<FileEvent *>::iterator i, next;
+ for (i = fevents.begin(); i != fevents.end(); i = next) {
+ next = i;
+ ++next;
+diff -Naur mico.orig/include/mico/tclmico.h mico/include/mico/tclmico.h
+--- mico.orig/include/mico/tclmico.h Mon May 26 12:55:46 2003
++++ mico/include/mico/tclmico.h Wed Jul 30 16:13:57 2003
+@@ -57,8 +57,8 @@
+ : disp (_disp), token (_token), cb (_cb)
+ {}
+ };
+- list<FileEvent *> fevents;
+- list<TimerEvent *> tevents;
++ std::list<FileEvent *> fevents;
++ std::list<TimerEvent *> tevents;
+
+ static void input_callback (ClientData, int mask);
+ static void timer_callback (ClientData);
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/mico/mico.spec
============================================================================
$ cvs diff -u -r1.16.2.2.2.1 -r1.16.2.2.2.2 mico.spec
--- openpkg-src/mico/mico.spec 29 Jul 2003 14:59:54 -0000 1.16.2.2.2.1
+++ openpkg-src/mico/mico.spec 1 Aug 2003 06:47:36 -0000 1.16.2.2.2.2
@@ -59,6 +59,14 @@
BuildPreReq: qt
PreReq: qt
%endif
+%if "%{with_gtk}" == "yes"
+BuildPreReq: gtk
+PreReq: gtk
+%endif
+%if "%{with_tcl}" == "yes"
+BuildPreReq: tcl
+PreReq: tcl
+%endif
AutoReq: no
AutoReqProv: no
@@ -83,10 +91,19 @@
CXX="%{l_cxx}"
CFLAGS="%{l_cflags -O}"
CXXFLAGS="%{l_cxxflags -O} -Wno-deprecated"
+ CPPFLAGS="%{l_cppflags}"
+%if "%{with_ssl}" == "yes"
+ CPPFLAGS="$CPPFLAGS -I%{l_prefix}/include/openssl"
+%endif
%if "%{with_qt}" == "yes"
- CXXFLAGS="$CXXFLAGS %{l_cppflags qt}"
+ CPPFLAGS="$CPPFLAGS -I%{l_prefix}/include/qt"
+%endif
+%if "%{with_gtk}" == "yes"
+ CPPFLAGS="$CPPFLAGS -I%{l_prefix}/include/gtk"
+%endif
+%if "%{with_tcl}" == "yes"
+ CPPFLAGS="$CPPFLAGS -I%{l_prefix}/include/tcl"
%endif
- CPPFLAGS="%{l_cppflags}"
LDFLAGS="%{l_ldflags}"
JAVAC=no
export CC CXX CFLAGS CXXFLAGS CPPFLAGS LDFLAGS JAVAC
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]