pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/fig2dev Fix broken fig2dev build on macosx due t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6ce01ea25acf
branches:  trunk
changeset: 450099:6ce01ea25acf
user:      nros <nros%pkgsrc.org@localhost>
date:      Sun Apr 11 08:09:12 2021 +0000

description:
Fix broken fig2dev build on macosx due to endian.h

Fix broken build on macosx due to inclusion of unneeded endian.h .
Fix taken from upstream.
Closes PR pkg/56098

diffstat:

 print/fig2dev/distinfo                           |   3 ++-
 print/fig2dev/patches/patch-fig2dev_dev_genemf.h |  17 +++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r db43ce30fb48 -r 6ce01ea25acf print/fig2dev/distinfo
--- a/print/fig2dev/distinfo    Sun Apr 11 07:10:06 2021 +0000
+++ b/print/fig2dev/distinfo    Sun Apr 11 08:09:12 2021 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.5 2021/04/02 19:26:24 fcambus Exp $
+$NetBSD: distinfo,v 1.6 2021/04/11 08:09:12 nros Exp $
 
 SHA1 (fig2dev-3.2.8.tar.xz) = 6a4714b653d98734dcfd3d24e6bdf091c2e20195
 RMD160 (fig2dev-3.2.8.tar.xz) = b59c24b248002aa7d5e606de4078065d4fe6f840
 SHA512 (fig2dev-3.2.8.tar.xz) = 4958e97cecd651a15f25cfc27ae55fa05ae628ae4257d1eb454cba60da26a907a5dddf5736bee9145007f5e0bf251fd52924ae09e5f87b95f287bab4c9da04f5
 Size (fig2dev-3.2.8.tar.xz) = 518984 bytes
+SHA1 (patch-fig2dev_dev_genemf.h) = 2da9fe55c82c8a07cb4a714782de9bb6dfabe77d
 SHA1 (patch-fig2dev_tests_atlocal.in) = a4440e467472ba02b8a67cab0287f5859a5eb631
diff -r db43ce30fb48 -r 6ce01ea25acf print/fig2dev/patches/patch-fig2dev_dev_genemf.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/fig2dev/patches/patch-fig2dev_dev_genemf.h  Sun Apr 11 08:09:12 2021 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-fig2dev_dev_genemf.h,v 1.1 2021/04/11 08:09:12 nros Exp $
+
+* remove non-portable header <endian.h>
+  fixes build on macosx
+  from upstream:
+https://sourceforge.net/p/mcj/fig2dev/ci/3897c8034f2eecfa99c645f2b8efa400505a9e27/
+
+--- fig2dev/dev/genemf.h.orig  2021-04-11 07:44:30.139844868 +0000
++++ fig2dev/dev/genemf.h
+@@ -30,7 +30,6 @@
+ #include "config.h"
+ #endif
+ 
+-#include <endian.h>
+ 
+ typedef unsigned char  uchar;
+ typedef unsigned short TCHAR;



Home | Main Index | Thread Index | Old Index