Hello community, here is the log from the commit of package swi-prolog checked in at Sun Apr 2 12:32:16 CEST 2006. -------- --- swi-prolog/swi-prolog.changes 2006-01-25 21:41:56.000000000 +0100 +++ swi-prolog/swi-prolog.changes 2006-04-01 19:24:45.000000000 +0200 @@ -1,0 +2,5 @@ +Sat Apr 1 19:19:35 CEST 2006 - schwab@suse.de + +- Remove use of kernel headers to fix build on ppc. + +------------------------------------------------------------------- Old: ---- minmem New: ---- pl-5.6.3.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ swi-prolog.spec ++++++ --- /var/tmp/diff_new_pack.yDbHOW/_old 2006-04-02 12:31:44.000000000 +0200 +++ /var/tmp/diff_new_pack.yDbHOW/_new 2006-04-02 12:31:44.000000000 +0200 @@ -5,7 +5,7 @@ # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # -# Please submit bugfixes or comments via http://bugs.opensuse.org +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild @@ -17,13 +17,14 @@ Obsoletes: swi_pl Autoreqprov: on Version: 5.6.3 -Release: 1 +Release: 8 Summary: SWI-Prolog distribution Source: pl-%{version}.tar.gz Source1: refman.pdf Source2: HTMLmanual.tar.gz Source3: userguide.pdf Source4: userguide.html.tgz +Patch: pl-%{version}.diff URL: http://www.swi-prolog.org Group: Development/Languages/Other BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -43,6 +44,7 @@ %prep %setup -q -n pl-%{version} +%patch %build %{?suse_update_config:%{suse_update_config -f src packages}} @@ -59,7 +61,6 @@ %endif %install -rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_defaultdocdir}/swi-prolog/packages ############################################# ### Launch a virtual framebuffer X server ### @@ -134,6 +135,8 @@ %doc %{_prefix}/share/man/*/* %changelog -n swi-prolog +* Sat Apr 01 2006 - schwab@suse.de +- Remove use of kernel headers to fix build on ppc. * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Mon Jan 23 2006 - sndirsch@suse.de ++++++ pl-5.6.3.diff ++++++ --- src/configure.in +++ src/configure.in @@ -539,8 +539,8 @@ AC_TRY_COMPILE( [ #include <sys/types.h> -#include <linux/unistd.h> -_syscall0(pid_t,gettid) +#include <sys/syscall.h> +static inline pid_t gettid() { return syscall(SYS_gettid); } ], [ pid_t t = gettid(); ], AC_DEFINE(HAVE_GETTID, 1, --- src/pl-thread.c +++ src/pl-thread.c @@ -74,8 +74,8 @@ #include <errno.h> #if defined(__linux__) && defined(HAVE_GETTID) -#include <linux/unistd.h> -_syscall0(pid_t,gettid) +#include <sys/syscall.h> +static inline pid_t gettid() { return syscall(SYS_gettid); } #endif #ifdef HAVE_SEMA_INIT /* Solaris */ --- src/pl-trace.c +++ src/pl-trace.c @@ -581,8 +581,7 @@ case 'c': FeedBack("creep\n"); clear(frame, FR_SKIPPED); return ACTION_CONTINUE; - case '\04': - case EOF: FeedBack("EOF: "); + case '\04': FeedBack("EOF: "); case 'e': FeedBack("exit\n"); exitFromDebugger(0); case 'f': FeedBack("fail\n"); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...
participants (1)
-
root@suse.de