pkgsrc-WIP-changes archive

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

xpaint: Update to 3.1.3



Module Name:	pkgsrc-wip
Committed By:	= <triaxx%NetBSD.org@localhost>
Pushed By:	frederic
Date:		Wed May 19 12:47:27 2021 +0200
Changeset:	2e6325c95939868a01a917ba9631a72e77497044

Modified Files:
	xpaint/Makefile
	xpaint/distinfo
Added Files:
	xpaint/patches/patch-fileBrowser.c

Log Message:
xpaint: Update to 3.1.3

pkgsrc changes:
---------------
  * Add patch to fix build on FreeBSD by using HAVE_DIRENT_H

upstream changes:
-----------------
Version 3.1.3
  * graphic.c : the "Text" menu has been substantially improved.
    Text and TeX/LaTeX input of arbitrary length, size, color can
    now be edited and converted to either a bitmap image or
    vector PostScript/PDF with embedded fonts.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2e6325c95939868a01a917ba9631a72e77497044

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

diffstat:
 xpaint/Makefile                    |  2 +-
 xpaint/distinfo                    |  9 +++++----
 xpaint/patches/patch-fileBrowser.c | 22 ++++++++++++++++++++++
 3 files changed, 28 insertions(+), 5 deletions(-)

diffs:
diff --git a/xpaint/Makefile b/xpaint/Makefile
index 98d000a15a..eed7c62c58 100644
--- a/xpaint/Makefile
+++ b/xpaint/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.80 2020/03/20 11:57:53 nia Exp $
 
-DISTNAME=	xpaint-3.1.2
+DISTNAME=	xpaint-3.1.3
 CATEGORIES=	graphics x11
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=sf-xpaint/}
 EXTRACT_SUFX=	.tar.bz2
diff --git a/xpaint/distinfo b/xpaint/distinfo
index d991d9dbde..38eb218483 100644
--- a/xpaint/distinfo
+++ b/xpaint/distinfo
@@ -1,10 +1,11 @@
 $NetBSD: distinfo,v 1.26 2015/11/03 21:34:35 agc Exp $
 
-SHA1 (xpaint-3.1.2.tar.bz2) = 5b29f3ad5af6e7d66d83c4c9196d1691673c8788
-RMD160 (xpaint-3.1.2.tar.bz2) = 6de728460115268d94e56d15220a39979a4f3340
-SHA512 (xpaint-3.1.2.tar.bz2) = d2a5b15d27462d05f6a240b8ea78860ac83be4f6c3f4e75c11e124be6b50bca7930ca21b881ad7bb4563ebfc3b63191fa7a7cefd14fd8fe8815933ed6eb7c96e
-Size (xpaint-3.1.2.tar.bz2) = 1664785 bytes
+SHA1 (xpaint-3.1.3.tar.bz2) = 1eb621c7b49d0fa0d4e700b269fd8347a1e69730
+RMD160 (xpaint-3.1.3.tar.bz2) = fb8693d1b2e461df653e97c883fda3a8e604e3d4
+SHA512 (xpaint-3.1.3.tar.bz2) = 8ef15d6af4b65d9da18d3e5eb9eacc0b42e718d069e20de91f2e0352b642d0a4b7626a2008fdd6217c0668ed1ecdc7a09c4a993a6074c77b7899b4613c1c4bda
+Size (xpaint-3.1.3.tar.bz2) = 1656489 bytes
 SHA1 (patch-configure) = bc83048e71d8c8e6f95643720d1480fcce4cbc07
+SHA1 (patch-fileBrowser.c) = 1d9a83732a335e008aec299b13ad7656a6679d60
 SHA1 (patch-main.c) = 5d764c282b2e8798e3690ff99bea7117a83df4a8
 SHA1 (patch-util_Makefile) = b885c20eaaff01f9a6ee15796f041d5a753c371a
 SHA1 (patch-vxp2ps_Makefile) = 30ef714b8541c551fd520956bda7aab7e90a6d77
diff --git a/xpaint/patches/patch-fileBrowser.c b/xpaint/patches/patch-fileBrowser.c
new file mode 100644
index 0000000000..0600a72354
--- /dev/null
+++ b/xpaint/patches/patch-fileBrowser.c
@@ -0,0 +1,22 @@
+$NetBSD$
+
+--- fileBrowser.c.orig	2021-01-21 22:38:23.000000000 +0100
++++ fileBrowser.c	2021-05-19 10:27:34.463903000 +0200
+@@ -48,7 +48,7 @@
+ #include <stdio.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+-#if defined(SYSV) || defined(SVR4) || defined(__CYGWIN__) || defined(__VMS )
++#if HAVE_DIRENT_H
+ #include <dirent.h>
+ #else
+ #include <sys/dir.h>
+@@ -563,7 +563,7 @@
+ setCWD(arg_t * arg, char *dir)
+ {
+     DIR *dirp;
+-#if defined(SYSV) || defined(SVR4) || defined(__alpha) || defined(__CYGWIN__)
++#if HAVE_DIRENT_H
+     struct dirent *e;
+ #else
+     struct direct *e;


Home | Main Index | Thread Index | Old Index