From owner-freebsd-ports Fri Aug 2 9:33:45 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 24C0637B400 for ; Fri, 2 Aug 2002 09:33:32 -0700 (PDT) Received: from xmagic.co.uk (m172-mp1.cvx3-b.pop.dial.ntli.net [80.1.84.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id CEEAC43E84 for ; Fri, 2 Aug 2002 09:33:26 -0700 (PDT) (envelope-from steve@xmagic.co.uk) Received: (from steve@localhost) by xmagic.co.uk (8.11.6/8.11.6) id g72GgG703918 for ports@FreeBSD.org; Fri, 2 Aug 2002 17:42:16 +0100 (BST) (envelope-from steve) Date: Fri, 2 Aug 2002 17:42:15 +0100 From: Steve Peck To: ports@FreeBSD.org Subject: aalib wont install... Message-ID: <20020802174215.A3870@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I hope this is the right email address. I got it out of the Makefile for aalib. I was trying to install the Gimp and one of the dependencies (aalib) through up this error. ///////////////////////////////////////////////////////////////////////////////////////// ===> Patching for aalib-1.4.r5_1 ===> Applying FreeBSD patches for aalib-1.4.r5_1 Ignoring previously applied (or reversed) patch. 2 out of 2 hunks ignored--saving rejects to src/aafire.c.rej >> Patch patch-ag failed to apply cleanly. *** Error code 1 //////////////////////////////////////////////////////////////////////////////////////// the /src/aafire.c.rej has this in it.. //////////////////////////////////////////////////////////////////////////////////////// *************** *** 48,53 **** initialize (void) { int i; context = aa_autoinit (&aa_defparams); if (context == NULL) { --- 48,54 ---- initialize (void) { int i; + srandomdev(); context = aa_autoinit (&aa_defparams); if (context == NULL) { *************** *** 114,133 **** height++; loop--; if (loop < 0) - loop = rand () % 3, sloop++;; i1 = 1; i2 = 4 * XSIZ + 1; for (p = (char *) bitmap + XSIZ * (YSIZ + 0); p < ((unsigned char *) bitmap + XSIZ * (YSIZ + 1)); p++, i1 += 4, i2 -= 4) { - last1 = rand () % min (i1, min (i2, height)); - i = rand () % 6; for (; p < (unsigned char *) bitmap + XSIZ * (YSIZ + 1) && i != 0; p++, i--, i1 += 4, i2 -= 4) - *p = last1, last1 += rand () % 6 - 2, *(p + XSIZ) = last1, last1 += - rand () % 6 - 2; - *(p + 2 * XSIZ) = last1, last1 += rand () % 6 - 2; } i = 0; firemain (); --- 115,134 ---- height++; loop--; if (loop < 0) + loop = random () % 3, sloop++;; i1 = 1; i2 = 4 * XSIZ + 1; for (p = (char *) bitmap + XSIZ * (YSIZ + 0); p < ((unsigned char *) bitmap + XSIZ * (YSIZ + 1)); p++, i1 += 4, i2 -= 4) { + last1 = random () % min (i1, min (i2, height)); + i = random () % 6; for (; p < (unsigned char *) bitmap + XSIZ * (YSIZ + 1) && i != 0; p++, i--, i1 += 4, i2 -= 4) + *p = last1, last1 += random () % 6 - 2, *(p + XSIZ) = last1, last1 += + random () % 6 - 2; + *(p + 2 * XSIZ) = last1, last1 += random () % 6 - 2; } i = 0; firemain (); //////////////////////////////////////////////////////////////////////////////////////// and the patch-ag file is this.. //////////////////////////////////////////////////////////////////////////////////////// --- src/aafire.c.orig Fri Apr 27 00:30:03 2001 +++ src/aafire.c Sat Mar 2 22:51:46 2002 @@ -48,6 +48,7 @@ initialize (void) { int i; + srandomdev(); context = aa_autoinit (&aa_defparams); if (context == NULL) { @@ -114,20 +115,20 @@ height++; loop--; if (loop < 0) - loop = rand () % 3, sloop++;; + loop = random () % 3, sloop++;; i1 = 1; i2 = 4 * XSIZ + 1; for (p = (char *) bitmap + XSIZ * (YSIZ + 0); p < ((unsigned char *) bitmap + XSIZ * (YSIZ + 1)); p++, i1 += 4, i2 -= 4) { - last1 = rand () % min (i1, min (i2, height)); - i = rand () % 6; + last1 = random () % min (i1, min (i2, height)); + i = random () % 6; for (; p < (unsigned char *) bitmap + XSIZ * (YSIZ + 1) && i != 0; p++, i--, i1 += 4, i2 -= 4) - *p = last1, last1 += rand () % 6 - 2, *(p + XSIZ) = last1, last1 += - rand () % 6 - 2; - *(p + 2 * XSIZ) = last1, last1 += rand () % 6 - 2; + *p = last1, last1 += random () % 6 - 2, *(p + XSIZ) = last1, last1 += + random () % 6 - 2; + *(p + 2 * XSIZ) = last1, last1 += random () % 6 - 2; } i = 0; firemain (); ///////////////////////////////////////////////////////////////////////////////// Now, I updated the graphics port using cvsup WITHOUT updating the ports-base. Then I tried to install Gimp1 ( MD5 (gimp-1.2.3.tar.bz2) = b19235f19f524f772a4aef597a69b1da ). And had the above error. I then updated the ports collection completely and tried to install gimp again. But I still get this error. Is there any way you can point me in the right direction. Cheers Steve Peck (stevepeck@pavilion.co.uk) ps Just let me know if you need any more information. //////////////////////////////////////////////////////////////////////////////// dmesg output... //////////////////////////////////////////////////////////////////////////////////////// Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.5-RELEASE #7: Fri May 24 16:17:06 BST 2002 root@Orac:/usr/src/sys/compile/ORAC Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (933.35-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x383f9ff real memory = 335478784 (327616K bytes) config> di sn0 config> di lnc0 config> di ie0 config> di cs0 avail memory = 321007616 (313484K bytes) Preloaded elf kernel "kernel" at 0xc04ec000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc04ec09c. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 7 entries at 0xc00fdbc0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 10 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xc000-0xc00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xc400-0xc41f irq 3 at device 7.2 on pci 0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xc800-0xc81f irq 3 at device 7.3 on pci 0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered chip1: at device 7.4 on pci0 pcm0: port 0xd400-0xd403,0xd000-0xd003,0xcc00-0xccff irq 5 at de vice 7.5 on pci0 chip2: port 0xd800-0xd8ff irq 5 at device 7.6 on pci0 rl0: port 0xdc00-0xdcff mem 0xde000000-0xde0 000ff irq 10 at device 8.0 on pci0 rl0: Ethernet address: 00:10:b5:86:d5:09 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl1: port 0xe000-0xe0ff mem 0xde001000-0xde0 010ff irq 11 at device 9.0 on pci0 rl1: Ethernet address: 00:10:b5:86:dc:a4 miibus1: on rl1 rlphy1: on miibus1 rlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto orm0: