diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-12-01 09:05:56 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-12-01 09:05:56 +0000 |
commit | b10a05a750c2fea3beef3dc2298078e9c81282bc (patch) | |
tree | 24b27a92c1f564e889a43797e8bb43d0f5436d52 /dev-lang/swi-prolog-lite | |
parent | Version bump and fix sandbox error #114069. (diff) | |
download | gentoo-2-b10a05a750c2fea3beef3dc2298078e9c81282bc.tar.gz gentoo-2-b10a05a750c2fea3beef3dc2298078e9c81282bc.tar.bz2 gentoo-2-b10a05a750c2fea3beef3dc2298078e9c81282bc.zip |
fix 64bit warnings and another DESTDIR patch
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'dev-lang/swi-prolog-lite')
4 files changed, 48 insertions, 2 deletions
diff --git a/dev-lang/swi-prolog-lite/ChangeLog b/dev-lang/swi-prolog-lite/ChangeLog index dbef0d57015e..4c1fa494249a 100644 --- a/dev-lang/swi-prolog-lite/ChangeLog +++ b/dev-lang/swi-prolog-lite/ChangeLog @@ -1,11 +1,13 @@ # ChangeLog for dev-lang/swi-prolog-lite # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog-lite/ChangeLog,v 1.22 2005/12/01 08:48:15 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog-lite/ChangeLog,v 1.23 2005/12/01 09:05:56 vapier Exp $ *swi-prolog-lite-5.5.39 (01 Dec 2005) 01 Dec 2005; Mike Frysinger <vapier@gentoo.org> +files/swi-prolog-lite-5.5.39-packages-mp-DESTDIR.patch, + +files/swi-prolog-lite-5.5.39-packages-ltx2htm-DESTDIR.patch, + +files/swi-prolog-lite-5.5.39-packages-semweb-64bit.patch, -swi-prolog-lite-5.5.36.ebuild, +swi-prolog-lite-5.5.39.ebuild: Version bump and fix sandbox error #114069. diff --git a/dev-lang/swi-prolog-lite/files/swi-prolog-lite-5.5.39-packages-ltx2htm-DESTDIR.patch b/dev-lang/swi-prolog-lite/files/swi-prolog-lite-5.5.39-packages-ltx2htm-DESTDIR.patch new file mode 100644 index 000000000000..5e2889a06f8e --- /dev/null +++ b/dev-lang/swi-prolog-lite/files/swi-prolog-lite-5.5.39-packages-ltx2htm-DESTDIR.patch @@ -0,0 +1,26 @@ +Index: packages/ltx2htm/Makefile.in +=================================================================== +RCS file: /usr/local/cvspl/pl/packages/ltx2htm/Makefile.in,v +retrieving revision 1.5 +diff -u -p -r1.5 Makefile.in +--- packages/ltx2htm/Makefile.in 30 Oct 2001 16:39:13 -0000 1.5 ++++ packages/ltx2htm/Makefile.in 1 Dec 2005 08:58:15 -0000 +@@ -48,12 +48,12 @@ all: + @echo "===============================================================" + + install: tex.@SO@ +- mkdir -p $(LIBDIR)/lib/$(PLARCH) +- $(INSTALL_DATA) tex.@SO@ $(LIBDIR)/lib/$(PLARCH) +- $(INSTALL_PROGRAM) latex2html $(bindir) +- for f in $(LIB); do $(INSTALL_DATA) $$f $(LIBDIR); done +- mkdir -p $(LIBDIR)/icons +- for f in icons/*.gif; do $(INSTALL_DATA) $$f $(LIBDIR)/icons; done ++ mkdir -p $(DESTDIR)$(LIBDIR)/lib/$(PLARCH) ++ $(INSTALL_DATA) tex.@SO@ $(DESTDIR)$(LIBDIR)/lib/$(PLARCH) ++ $(INSTALL_PROGRAM) latex2html $(DESTDIR)$(bindir) ++ for f in $(LIB); do $(INSTALL_DATA) $$f $(DESTDIR)$(LIBDIR); done ++ mkdir -p $(DESTDIR)$(LIBDIR)/icons ++ for f in icons/*.gif; do $(INSTALL_DATA) $$f $(DESTDIR)$(LIBDIR)/icons; done + + tex.@SO@: $(OBJ) + $(LD) $(LDFLAGS) -o $@ $(OBJ) diff --git a/dev-lang/swi-prolog-lite/files/swi-prolog-lite-5.5.39-packages-semweb-64bit.patch b/dev-lang/swi-prolog-lite/files/swi-prolog-lite-5.5.39-packages-semweb-64bit.patch new file mode 100644 index 000000000000..fc83911e8287 --- /dev/null +++ b/dev-lang/swi-prolog-lite/files/swi-prolog-lite-5.5.39-packages-semweb-64bit.patch @@ -0,0 +1,16 @@ +Index: packages/semweb/rdf_db.c +=================================================================== +RCS file: /usr/local/cvspl/pl/packages/semweb/rdf_db.c,v +retrieving revision 1.87 +diff -u -p -r1.87 rdf_db.c +--- packages/semweb/rdf_db.c 12 Nov 2005 15:03:05 -0000 1.87 ++++ packages/semweb/rdf_db.c 1 Dec 2005 08:52:40 -0000 +@@ -4842,7 +4842,7 @@ typedef struct agenda + } agenda; + + #ifndef offsetof +-#define offsetof(structure, field) ((int) &(((structure *)NULL)->field)) ++#define offsetof(structure, field) ((unsigned long) &(((structure *)NULL)->field)) + #endif + #define CHUNK_SIZE(n) offsetof(chunk, nodes[n]) + diff --git a/dev-lang/swi-prolog-lite/swi-prolog-lite-5.5.39.ebuild b/dev-lang/swi-prolog-lite/swi-prolog-lite-5.5.39.ebuild index 7ba3002afd8c..a6a41951d702 100644 --- a/dev-lang/swi-prolog-lite/swi-prolog-lite-5.5.39.ebuild +++ b/dev-lang/swi-prolog-lite/swi-prolog-lite-5.5.39.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog-lite/swi-prolog-lite-5.5.39.ebuild,v 1.1 2005/12/01 08:48:15 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog-lite/swi-prolog-lite-5.5.39.ebuild,v 1.2 2005/12/01 09:05:56 vapier Exp $ inherit eutils @@ -27,6 +27,8 @@ src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-packages-mp-DESTDIR.patch + epatch "${FILESDIR}"/${P}-packages-semweb-64bit.patch + epatch "${FILESDIR}"/${P}-packages-ltx2htm-DESTDIR.patch } src_compile() { |