[CVS] OpenPKG: openpkg-src/xv/ xv.patch xv.spec openpkg-web/ news.txt

2003-01-11 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web  Date:   11-Jan-2003 17:04:32
  Branch: HEAD Handle: 200306043101

  Modified files:
openpkg-src/xv  xv.patch xv.spec
openpkg-web news.txt

  Log:
Linux hates redeclaration of sys_errlist, too

  Summary:
RevisionChanges Path
1.3 +1  -1  openpkg-src/xv/xv.patch
1.11+1  -1  openpkg-src/xv/xv.spec
1.2658  +1  -0  openpkg-web/news.txt
  

  patch -p0 '@@ .'
  Index: openpkg-src/xv/xv.patch
  
  $ cvs diff -u -r1.2 -r1.3 xv.patch
  --- openpkg-src/xv/xv.patch   1 Dec 2002 19:51:41 -   1.2
  +++ openpkg-src/xv/xv.patch   11 Jan 2003 16:04:32 -  1.3
  @@ -6,7 +6,7 @@
#  include errno.h
   extern int   errno; /* SHOULD be in errno.h, but often isn't */
   -#  ifndef __NetBSD__
  -+#  if !defined(__NetBSD__)  !defined(__FreeBSD__)
  ++#  if !defined(__NetBSD__)  !defined(__FreeBSD__)  !defined(__linux__)
 extern char *sys_errlist[]; /* this too... */
#  endif
#endif
  @@ .
  patch -p0 '@@ .'
  Index: openpkg-src/xv/xv.spec
  
  $ cvs diff -u -r1.10 -r1.11 xv.spec
  --- openpkg-src/xv/xv.spec3 Jan 2003 10:55:48 -   1.10
  +++ openpkg-src/xv/xv.spec11 Jan 2003 16:04:32 -  1.11
  @@ -33,7 +33,7 @@
   Group:XWindow
   License:  XV
   Version:  3.10a
  -Release:  20021201
  +Release:  20030111
   
   #   list of sources
   Source0:  ftp://ftp.cis.upenn.edu/pub/xv/xv-%{version}.tar.gz
  @@ .
  patch -p0 '@@ .'
  Index: openpkg-web/news.txt
  
  $ cvs diff -u -r1.2657 -r1.2658 news.txt
  --- openpkg-web/news.txt  11 Jan 2003 16:02:05 -  1.2657
  +++ openpkg-web/news.txt  11 Jan 2003 16:04:31 -  1.2658
  @@ -1,3 +1,4 @@
  +11-Jan-2003: Upgraded package: Pxv-3.10a-20030111
   11-Jan-2003: Upgraded package: Pocaml-3.06-20030111
   11-Jan-2003: Upgraded package: Ptftp-0.32-20030111
   11-Jan-2003: Upgraded package: Psubversion-0.16.0-20030111
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]



[CVS] OpenPKG: openpkg-src/xv xv.patch xv.spec openpkg-web news.txt

2002-12-01 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-web, openpkg-src Date:   01-Dec-2002 20:51:41
  Branch: HEAD Handle: 2002120119514001

  Modified files:
openpkg-src/xv  xv.patch xv.spec
openpkg-web news.txt

  Log:
polish package

  Summary:
RevisionChanges Path
1.2 +11 -4  openpkg-src/xv/xv.patch
1.6 +31 -31 openpkg-src/xv/xv.spec
1.2163  +2  -0  openpkg-web/news.txt
  

  Index: openpkg-src/xv/xv.patch
  
  $ cvs diff -u -r1.1 -r1.2 xv.patch
  --- openpkg-src/xv/xv.patch   9 Aug 2002 19:19:54 -   1.1
  +++ openpkg-src/xv/xv.patch   1 Dec 2002 19:51:41 -   1.2
  @@ -1,13 +1,20 @@
   diff -Naur xv-3.10a.orig/xv.h xv-3.10a/xv.h
   --- xv-3.10a.orig/xv.h   Mon Jan 23 21:22:23 1995
   +++ xv-3.10a/xv.hFri Aug  9 21:05:23 2002
  -@@ -116,7 +116,9 @@
  +@@ -115,7 +115,7 @@
  + #ifndef VMS
#  include errno.h
   extern int   errno; /* SHOULD be in errno.h, but often isn't */
  - #  ifndef __NetBSD__
  -+#  ifndef __FreeBSD__
  +-#  ifndef __NetBSD__
  ++#  if !defined(__NetBSD__)  !defined(__FreeBSD__)
 extern char *sys_errlist[]; /* this too... */
  -+#  endif
#  endif
#endif
  +@@ -159,6 +159,7 @@
  +  !defined(bsd43)  \
  +  !defined(aux)\
  +  !defined(__bsdi__)   \
  ++ !defined(__FreeBSD__)\
  +  !defined(sequent)

  + #  if defined(hp300) || defined(hp800) || defined(NeXT)
  Index: openpkg-src/xv/xv.spec
  
  $ cvs diff -u -r1.5 -r1.6 xv.spec
  --- openpkg-src/xv/xv.spec20 Sep 2002 16:06:02 -  1.5
  +++ openpkg-src/xv/xv.spec1 Dec 2002 19:51:41 -   1.6
  @@ -33,7 +33,7 @@
   Group:XWindow
   License:  XV
   Version:  3.10a
  -Release:  20020920
  +Release:  20021201
   
   #   list of sources
   Source0:  ftp://ftp.cis.upenn.edu/pub/xv/xv-%{version}.tar.gz
  @@ -46,8 +46,8 @@
   #   build information
   Prefix:   %{l_prefix}
   BuildRoot:%{l_buildroot}
  -BuildPreReq:  OpenPKG, openpkg = 20020206, X11, jpeg, png, tiff, patch
  -PreReq:   OpenPKG, openpkg = 20020206, X11, jpeg, png, tiff, gzip
  +BuildPreReq:  OpenPKG, openpkg = 20020206, X11, jpeg, png, zlib, tiff
  +PreReq:   OpenPKG, openpkg = 20020206, X11, jpeg, png, zlib, tiff, gzip
   AutoReq:  no
   AutoReqProv:  no
   
  @@ -71,36 +71,35 @@
   %patch1 -p0
   %patch2 -p0
   %patch3 -p1
  -patch -p1  xvpng.diff
  +%{l_patch} -p1  xvpng.diff
   
   #   use our own gunzip command
  -%{l_shtool} subst -e 's;#undef USE_GUNZIP;#define USE_GUNZIP;' \
  -  -e 's;#define GUNZIP /usr/local/bin/gunzip -q;#define 
GUNZIP %{l_prefix}/bin/gunzip -q;' \
  -  config.h
  -
  -#   use our own JPEG, PNG, and z libraries
  -%{l_shtool} subst -e 's;\(\tcd $(JPEGDIR)\).*;;' \
  -  -e 's;\(\t( cd $(TIFFDIR) \;\).*;;' \
  -  -e 's;\(JPEGINC = -I\)$(JPEGDIR);\1%{l_prefix}/include;' \
  -  -e 's;\(JPEGLIB = 
\)$(JPEGDIR)\(/libjpeg.a\);\1%{l_prefix}/lib\2;' \
  -  -e 's;\(PNGINC = -I\)$(PNGDIR);\1%{l_prefix}/include;' \
  -  -e 's;\(PNGLIB = -L\)$(PNGDIR)\(.*\);\1%{l_prefix}/lib\2;' \
  -  -e 's;\(ZLIBINC = -I\)$(ZLIBDIR);\1%{l_prefix}/include;' \
  -  -e 's;\(ZLIBLIB = -L\)$(ZLIBDIR)\(.*\);\1%{l_prefix}/lib\2;' \
  -  -e 's;\(TIFFINC = -I\)$(TIFFDIR);\1%{l_prefix}/include/tiff;' 
\
  -  -e 's;\(TIFFLIB = 
\)$(TIFFDIR)\(/libtiff.a\);\1%{l_prefix}/lib\2;' \
  -  Makefile
  +%{l_shtool} subst \
  +-e 's;#undef USE_GUNZIP;#define USE_GUNZIP;' \
  +-e 's;#define GUNZIP /usr/local/bin/gunzip -q;#define GUNZIP 
%{l_prefix}/bin/gunzip -q;' \
  +config.h
  +
  +#   use our own JPEG, TIFF and PNG libraries
  +%{l_shtool} subst \
  +-e 's;\(\tcd $(JPEGDIR)\).*;;' \
  +-e 's;\(\t( cd $(TIFFDIR) \;\).*;;' \
  +-e 's;\(JPEGINC = -I\)$(JPEGDIR);\1%{l_prefix}/include;' \
  +-e 's;\(JPEGLIB = \)$(JPEGDIR)\(/libjpeg.a\);\1%{l_prefix}/lib\2;' \
  +-e 's;\(PNGINC = -I\)$(PNGDIR);\1%{l_prefix}/include;' \
  +-e 's;\(PNGLIB = -L\)$(PNGDIR)\(.*\);\1%{l_prefix}/lib\2;' \
  +-e 's;\(ZLIBINC = -I\)$(ZLIBDIR);\1%{l_prefix}/include;' \
  +-e