pkgsrc-Changes archive

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

CVS commit: pkgsrc/print/fig2dev



Module Name:    pkgsrc
Committed By:   nros
Date:           Sun Apr 11 08:09:12 UTC 2021

Modified Files:
        pkgsrc/print/fig2dev: distinfo
Added Files:
        pkgsrc/print/fig2dev/patches: patch-fig2dev_dev_genemf.h

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/print/fig2dev/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/print/fig2dev/patches/patch-fig2dev_dev_genemf.h

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

Modified files:

Index: pkgsrc/print/fig2dev/distinfo
diff -u pkgsrc/print/fig2dev/distinfo:1.5 pkgsrc/print/fig2dev/distinfo:1.6
--- pkgsrc/print/fig2dev/distinfo:1.5   Fri Apr  2 19:26:24 2021
+++ pkgsrc/print/fig2dev/distinfo       Sun Apr 11 08:09:12 2021
@@ -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

Added files:

Index: pkgsrc/print/fig2dev/patches/patch-fig2dev_dev_genemf.h
diff -u /dev/null pkgsrc/print/fig2dev/patches/patch-fig2dev_dev_genemf.h:1.1
--- /dev/null   Sun Apr 11 08:09:12 2021
+++ pkgsrc/print/fig2dev/patches/patch-fig2dev_dev_genemf.h     Sun Apr 11 08:09:12 2021
@@ -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