licq na NPTL
Michal Kochanowicz
michal w michal.waw.pl
Nie, 5 Paź 2003, 15:33:41 CEST
Hej!
Załączone łatki pozwalają zbudować licq na maszynie z nptl. Łatka na
speca dodaje jeszcze BR.
Co do NPTL to ogranicza się to do usunięcia wywołania
pthread_kill_other_threads_np()
które jest specyficzne dla LinuxThreads. Nie powinno to być problemem bo
ma miejsce w handlerze SEGV a następnym wywołaniem jest abort().
--
--= Michal Kochanowicz =--==--==BOFH==--==--= michal w michal.waw.pl =--
--= finger me for PGP public key or visit http://michal.waw.pl/PGP =--
--==--==--==--==--==-- Vodka. Connecting people.--==--==--==--==--==--
A chodzenie po górach SSIE!!!
-------------- następna część ---------
Index: licq.spec
===================================================================
RCS file: /cvsroot/SPECS/licq.spec,v
retrieving revision 1.83
diff -u -r1.83 licq.spec
--- licq.spec 30 Sep 2003 20:18:25 -0000 1.83
+++ licq.spec 5 Oct 2003 13:31:02 -0000
@@ -13,7 +13,7 @@
Source0: http://dl.sourceforge.net/licq/%{name}-%{version}.tar.bz2
# Source0-md5: e331c88151b95330f0b9b08570853318
Source1: %{name}-qt-gui.desktop
-Patch0: %{name}-c++.patch
+Patch0: %{name}-NPTL.patch
URL: http://www.licq.org/
BuildRequires: XFree86-devel
BuildRequires: automake
@@ -25,6 +25,8 @@
BuildRequires: openssl-devel >= 0.9.7c
BuildRequires: qt-devel >= 3.0.5
BuildRequires: kdelibs-devel
+BuildRequires: libart_lgpl-devel
+BuildRequires: fam-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -205,6 +207,7 @@
%prep
%setup -q
+%patch0 -p1
%build
cp -r plugins/qt-gui plugins/kde-gui
-------------- następna część ---------
diff -urN licq-1.2.7.orig/src/sighandler.c licq-1.2.7/src/sighandler.c
--- licq-1.2.7.orig/src/sighandler.c 2003-06-16 19:09:46.000000000 +0200
+++ licq-1.2.7/src/sighandler.c 2003-10-05 14:19:38.642507056 +0200
@@ -83,7 +83,6 @@
fprintf(stderr, "%s\n", res[0]);*/
}
fprintf(stderr, "Attempting to generate core file.\n");
- pthread_kill_other_threads_np();
#endif
abort();
Więcej informacji o liście dyskusyjnej pld-devel-pl