pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/xpaint Fix buildling on DragonflyBSD and Free...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3e6147f21662
branches:  trunk
changeset: 499010:3e6147f21662
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Sep 07 14:10:16 2005 +0000

description:
Fix buildling on DragonflyBSD and FreeBSD; courtesy of Steve O'Hara-Smith

diffstat:

 graphics/xpaint/distinfo         |   6 +++---
 graphics/xpaint/patches/patch-aa |   4 ++--
 graphics/xpaint/patches/patch-af |  20 +++++++++++++-------
 3 files changed, 18 insertions(+), 12 deletions(-)

diffs (84 lines):

diff -r ec6510bc343e -r 3e6147f21662 graphics/xpaint/distinfo
--- a/graphics/xpaint/distinfo  Wed Sep 07 13:59:03 2005 +0000
+++ b/graphics/xpaint/distinfo  Wed Sep 07 14:10:16 2005 +0000
@@ -1,12 +1,12 @@
-$NetBSD: distinfo,v 1.15 2005/09/06 14:53:36 adam Exp $
+$NetBSD: distinfo,v 1.16 2005/09/07 14:10:16 adam Exp $
 
 SHA1 (xpaint-2.7.8.tar.bz2) = 5573996f293838abd892faaa73a31239c03f9b9a
 RMD160 (xpaint-2.7.8.tar.bz2) = edf4cdd5ee3f2af1d49eb4bb6618fc2dc3c138ff
 Size (xpaint-2.7.8.tar.bz2) = 415855 bytes
-SHA1 (patch-aa) = 87ddea42b6497f0c38a56f2915b9896d2858b63d
+SHA1 (patch-aa) = c0f7d49081c3440b836754966527e39ee1bcabec
 SHA1 (patch-ab) = 653a8873434093b4fc27e57a26e850ca23ec3556
 SHA1 (patch-ac) = 78ba5e1c2b0bb5e9abfd12783454d5b30499d5f0
 SHA1 (patch-ad) = dc12b553353bb5f8e70251ace8bf874c13aaa24f
 SHA1 (patch-ae) = 5ecb812e962701a6d5f068bb7744c5115b2eb263
-SHA1 (patch-af) = 7742b1c2e56ae8d3797765b3c477c8c46c9a0b07
+SHA1 (patch-af) = b2338fb83ef693a02645012a9d2a2b0eb46daa52
 SHA1 (patch-ag) = 5191cb57084a746fec33dec105a8fe1750c6d8ae
diff -r ec6510bc343e -r 3e6147f21662 graphics/xpaint/patches/patch-aa
--- a/graphics/xpaint/patches/patch-aa  Wed Sep 07 13:59:03 2005 +0000
+++ b/graphics/xpaint/patches/patch-aa  Wed Sep 07 14:10:16 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.5 2005/01/31 09:24:07 adam Exp $
+$NetBSD: patch-aa,v 1.6 2005/09/07 14:10:16 adam Exp $
 
 --- misc.h.orig        2004-09-22 14:20:24.000000000 +0000
 +++ misc.h
@@ -7,7 +7,7 @@
  #endif
  
 -#if !defined(__VMS) & !defined(linux) & !defined(__EMX__) & !defined(__FreeBSD__) & !defined(__CYGWIN__)
-+#if !defined(__VMS) & !defined(linux) & !defined(__EMX__) & !defined(__FreeBSD__) & !defined(__CYGWIN__) & !defined(__NetBSD__)
++#if !defined(__VMS) & !defined(linux) & !defined(__EMX__) & !defined(__FreeBSD__) & !defined(__CYGWIN__) & !defined(__NetBSD__) & !defined(__DragonFly__)
  #if defined(BSD4_4) || defined(HPArchitecture) || defined(SGIArchitecture) || defined(_AIX) || defined(_SCO_DS)
  void srandom(unsigned int);
  #else
diff -r ec6510bc343e -r 3e6147f21662 graphics/xpaint/patches/patch-af
--- a/graphics/xpaint/patches/patch-af  Wed Sep 07 13:59:03 2005 +0000
+++ b/graphics/xpaint/patches/patch-af  Wed Sep 07 14:10:16 2005 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-af,v 1.10 2005/09/06 14:53:36 adam Exp $
+$NetBSD: patch-af,v 1.11 2005/09/07 14:10:16 adam Exp $
 
---- Local.config.orig  2004-09-05 08:14:53.000000000 +0000
+--- Local.config.orig  2005-04-30 21:33:14.000000000 +0000
 +++ Local.config
-@@ -9,7 +9,7 @@ XCOMM $Id: Local.config,v 1.29 2004/09/0
+@@ -9,7 +9,7 @@ XCOMM $Id: Local.config,v 1.18 2005/03/2
  XCOMM Local customization
  
  DESTDIR = 
@@ -35,7 +35,7 @@
  
  
  DEPENDFLAGS = -I./bitmaps
-@@ -162,14 +165,14 @@ XCOMM CDEBUGFLAGS =
+@@ -162,20 +165,11 @@ XCOMM CDEBUGFLAGS =
  
  XCOMM This should take care of everything needed for BSD.
  
@@ -47,6 +47,15 @@
 -JPEG_LIB     = -L/usr/local/lib -ljpeg
 -XPM_INCLUDE = -I/usr/X11R6/include/X11
 -#endif
+-
+-#if defined(FreeBSDArchitecture)
+-ARCH_DEFINES = -DHAVE_PARAM_H
+-TIFF_INCLUDE = -I/usr/local/include/tiff34
+-TIFF_LIB     = -L/usr/local/lib -ltiff34
+-JPEG_INCLUDE = -I/usr/local/include
+-JPEG_LIB     = -L/usr/local/lib -ljpeg
+-XPM_INCLUDE = -I/usr/X11R6/include/X11
+-#endif
 +TIFF_INCLUDE = -I@LOCALBASE@/include
 +TIFF_LIB     = -L@LOCALBASE@/lib -Wl,-R@LOCALBASE@/lib -ltiff
 +JPEG_INCLUDE = -I@LOCALBASE@/include
@@ -54,6 +63,3 @@
 +PNG_INCLUDE = -I@LOCALBASE@/include/png
 +PNG_LIB     = -L@LOCALBASE@/lib -Wl,-R@LOCALBASE@/lib -lpng -lz
 +XPM_INCLUDE = -I@XPMDIR@/include/X11
- 
- #if defined(FreeBSDArchitecture)
- ARCH_DEFINES = -DHAVE_PARAM_H



Home | Main Index | Thread Index | Old Index