Subject: Re: pkg/35181: devel/py-ctypes doesn't compile on NetBSD/macppc, doesn't use devel/libffi
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: OBATA Akio <obata@lins.jp>
List: pkgsrc-bugs
Date: 12/04/2006 12:25:02
The following reply was made to PR pkg/35181; it has been noted by GNATS.

From: OBATA Akio <obata@lins.jp>
To: gnats-bugs@NetBSD.org
Cc: mange@freemail.hu
Subject: Re: pkg/35181: devel/py-ctypes doesn't compile on NetBSD/macppc, doesn't use devel/libffi
Date: Mon, 4 Dec 2006 21:22:17 +0900

 Does following patch fix your problem?
 
 Index: distinfo
 ===================================================================
 RCS file: /cvsroot/pkgsrc/devel/py-ctypes/distinfo,v
 retrieving revision 1.2
 diff -u -r1.2 distinfo
 --- distinfo	1 Dec 2006 11:47:12 -0000	1.2
 +++ distinfo	4 Dec 2006 12:17:58 -0000
 @@ -3,5 +3,5 @@
  SHA1 (ctypes-1.0.0.tar.gz) = e7d7e0510536c495d3bf87123a65931cf83d1505
  RMD160 (ctypes-1.0.0.tar.gz) = 78e491068c5e9c8a0e26f749a1b6ccc8e76995ed
  Size (ctypes-1.0.0.tar.gz) = 383190 bytes
 -SHA1 (patch-aa) = 35eee8f4e6b964b7cd15391579746d2ce343000e
 +SHA1 (patch-aa) = b9aba67ca979d7bc2f864979faa209e60175f0b0
  SHA1 (patch-ab) = 08b4c6489f3c801ff208eccc64366b365843ce81
 Index: patches/patch-aa
 ===================================================================
 RCS file: /cvsroot/pkgsrc/devel/py-ctypes/patches/patch-aa,v
 retrieving revision 1.1
 diff -u -r1.1 patch-aa
 --- patches/patch-aa	1 Dec 2006 11:47:12 -0000	1.1
 +++ patches/patch-aa	4 Dec 2006 12:17:58 -0000
 @@ -10,3 +10,12 @@
   i*86-*-netbsdelf* | i*86-*-knetbsd*-gnu) TARGET=X86; TARGETDIR=x86;;
   i*86-*-openbsd*) TARGET=X86; TARGETDIR=x86;;
   i*86-*-rtems*) TARGET=X86; TARGETDIR=x86;;
 +@@ -3502,7 +3503,7 @@ m68k-*-linux*) TARGET=M68K; TARGETDIR=m6
 + mips64*-*);;
 + mips-sgi-irix5.* | mips-sgi-irix6.*) TARGET=MIPS_IRIX; TARGETDIR=mips;;
 + mips*-*-linux*) TARGET=MIPS_LINUX; TARGETDIR=mips;;
 +-powerpc*-*-linux* | powerpc-*-sysv*) TARGET=POWERPC; TARGETDIR=powerpc;;
 ++powerpc*-*-linux* | powerpc-*-netbsd* | powerpc-*-sysv*) TARGET=POWERPC; TARGETDIR=powerpc;;
 + powerpc-*-beos*) TARGET=POWERPC; TARGETDIR=powerpc;;
 + powerpc-*-darwin*) TARGET=POWERPC_DARWIN; TARGETDIR=powerpc;;
 + powerpc-*-aix*) TARGET=POWERPC_AIX; TARGETDIR=powerpc;;