pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/xv



Module Name:    pkgsrc
Committed By:   tsutsui
Date:           Sat Mar 23 18:07:38 UTC 2024

Modified Files:
        pkgsrc/graphics/xv: distinfo
        pkgsrc/graphics/xv/patches: patch-Imakefile

Log Message:
xv: fix build errors on NetBSD/vax.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/graphics/xv/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/graphics/xv/patches/patch-Imakefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/xv/distinfo
diff -u pkgsrc/graphics/xv/distinfo:1.29 pkgsrc/graphics/xv/distinfo:1.30
--- pkgsrc/graphics/xv/distinfo:1.29    Sat Nov 25 08:19:15 2023
+++ pkgsrc/graphics/xv/distinfo Sat Mar 23 18:07:38 2024
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.29 2023/11/25 08:19:15 tsutsui Exp $
+$NetBSD: distinfo,v 1.30 2024/03/23 18:07:38 tsutsui Exp $
 
 BLAKE2s (xv-3.10a-enhancements.20070520-20081216.diff) = 1333e3066444f6adf64e83c33a129a46143678d4b2c805f3740baae1320d3449
 SHA512 (xv-3.10a-enhancements.20070520-20081216.diff) = d7152799f6ec65404496b8d83a93681122fe1280741ffe4d20d7dc1b3791873081c778b3d9806f1217b9d45f5b5bfce6fdbfb655c26ed5e87388a6f517c4f2f7
@@ -9,7 +9,7 @@ Size (xv-3.10a-jumbo-patches-20070520.ta
 BLAKE2s (xv-3.10a.tar.gz) = 1a48a6b641074c1fc1c51a01d6516024489ed0fab550abdd708f7d12aef8d292
 SHA512 (xv-3.10a.tar.gz) = 5b8c5890503e2796638921cabae8967e458c73e332acea8561b1025ed13c771bc44c0e309b4592852e33726eeaa9784f933d1312073b0ba2e0b8c0cedabcaa3f
 Size (xv-3.10a.tar.gz) = 2259124 bytes
-SHA1 (patch-Imakefile) = 908a3c30d1a1c08f91cf96362b3292f3ff795e13
+SHA1 (patch-Imakefile) = 129ecbffa87166858cdaa60a0089e5c34da4ab0d
 SHA1 (patch-bits_br__webp) = 47f2495f0e8d443e0e20b718593de331cf319dea
 SHA1 (patch-config.h) = fd0ef6bbf774a57dd0bb94676927dcc6eeef1014
 SHA1 (patch-vdcomp.c) = 4c603cdc2c01925fed283b2aa6030d1933cdaddc

Index: pkgsrc/graphics/xv/patches/patch-Imakefile
diff -u pkgsrc/graphics/xv/patches/patch-Imakefile:1.3 pkgsrc/graphics/xv/patches/patch-Imakefile:1.4
--- pkgsrc/graphics/xv/patches/patch-Imakefile:1.3      Wed Aug 16 17:02:20 2023
+++ pkgsrc/graphics/xv/patches/patch-Imakefile  Sat Mar 23 18:07:38 2024
@@ -1,12 +1,13 @@
-$NetBSD: patch-Imakefile,v 1.3 2023/08/16 17:02:20 tsutsui Exp $
+$NetBSD: patch-Imakefile,v 1.4 2024/03/23 18:07:38 tsutsui Exp $
 
 - use jpeg, png, tiff, and zlib from pkgsrc
 - make ghostscript support optional
 - add webp support from forked upstream
   https://gitlab.com/DavidGriffith/xv/-/commit/5682a07e
   and use libwebp from pkgsrc
+- fix build errors on NetBSD/vax
 
---- Imakefile.orig     2023-08-16 16:51:48.939703880 +0000
+--- Imakefile.orig     2024-03-23 18:02:14.701404322 +0000
 +++ Imakefile
 @@ -6,13 +6,20 @@
  /* if, for whatever reason, you're unable to get the JPEG library to compile
@@ -42,6 +43,15 @@ $NetBSD: patch-Imakefile,v 1.3 2023/08/1
  /*
   * if you are running on a SysV-based machine, such as HP, Silicon Graphics,
   * etc, uncomment one of the following lines to get you *most* of the way
+@@ -79,7 +90,7 @@
+ /* if your machine doesn't have 'vprintf()' or 'vsprintf()'
+  *   see vprintf.c for more information, if needed.
+  */
+-#if defined(VaxArchitecture) && !defined(UltrixArchitecture)
++#if defined(VaxArchitecture) && !defined(UltrixArchitecture) && !defined(NetBSDArchitecture)
+ VPRINTF=      -DNEED_VPRINTF -DINTSPRINTF -DLONGINT -DNOVOID
+ #else 
+ #  if defined(RtArchitecture) && !defined(AIXArchitecture)
 @@ -116,28 +127,84 @@ MGCSFX = -DMGCSFXDIR=\"$(MGCSFXDIR)\"
  
  /* This marks the end of the configuration parameters */



Home | Main Index | Thread Index | Old Index