pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/cinepaint cinepaint: fix build by not providi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4d5d2b579f87
branches:  trunk
changeset: 368920:4d5d2b579f87
user:      maya <maya%pkgsrc.org@localhost>
date:      Fri Sep 22 06:37:26 2017 +0000

description:
cinepaint: fix build by not providing a weird declaration of fgets

PR pkg/52565

diffstat:

 graphics/cinepaint/distinfo         |   4 ++--
 graphics/cinepaint/patches/patch-aa |  13 ++++++++++++-
 2 files changed, 14 insertions(+), 3 deletions(-)

diffs (40 lines):

diff -r 2cc9c4b22164 -r 4d5d2b579f87 graphics/cinepaint/distinfo
--- a/graphics/cinepaint/distinfo       Fri Sep 22 02:58:50 2017 +0000
+++ b/graphics/cinepaint/distinfo       Fri Sep 22 06:37:26 2017 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.22 2016/12/22 21:03:12 joerg Exp $
+$NetBSD: distinfo,v 1.23 2017/09/22 06:37:26 maya Exp $
 
 SHA1 (cinepaint-0.22-1.tar.gz) = 717580b9b8b1044d76f1f0e4330e1c8104e2a206
 RMD160 (cinepaint-0.22-1.tar.gz) = 1f8e06486ed5e74ad483abec305d4fcef0538572
 SHA512 (cinepaint-0.22-1.tar.gz) = e2e7e8cfecb3588f54d0f70e6399f841639c9fd3da15c1bb5ff4b6f987e329450a81e465d12090eb9e181c41255a34f7655c3910a9467db9734495a4e4620fc5
 Size (cinepaint-0.22-1.tar.gz) = 12380745 bytes
-SHA1 (patch-aa) = a9a08e9ee48d235a7b862ee660af64afb77036e3
+SHA1 (patch-aa) = 9425d1a272aeaed14262626346b7bedd1fc4e135
 SHA1 (patch-ab) = 601c0cb6dabacb4d88120a6b2784588bcf06b8b5
 SHA1 (patch-ac) = 819bd88a7ed2a321d1ae7b1a37ac3e2551ff916d
 SHA1 (patch-ad) = 643ad8210fa479d4f2c3b83cebc5af92c9a310a1
diff -r 2cc9c4b22164 -r 4d5d2b579f87 graphics/cinepaint/patches/patch-aa
--- a/graphics/cinepaint/patches/patch-aa       Fri Sep 22 02:58:50 2017 +0000
+++ b/graphics/cinepaint/patches/patch-aa       Fri Sep 22 06:37:26 2017 +0000
@@ -1,4 +1,6 @@
-$NetBSD: patch-aa,v 1.2 2011/11/23 23:30:30 joerg Exp $
+$NetBSD: patch-aa,v 1.3 2017/09/22 06:37:26 maya Exp $
+
+Don't declare fgets in a weird way
 
 --- plug-ins/hdr/fromrad.h.orig        2004-11-19 06:52:27.000000000 +0000
 +++ plug-ins/hdr/fromrad.h
@@ -15,3 +17,12 @@
  
  #define  copycolr(c1,c2)      (c1[0]=c2[0],c1[1]=c2[1], \
                                c1[2]=c2[2],c1[3]=c2[3])
+@@ -104,7 +103,7 @@ extern char  resolu_buf[RESOLU_BUFLEN];
+ #define  fprtresolu(sl,ns,fp) fprintf(fp,PIXSTDFMT,ns,sl)
+ #define  fscnresolu(sl,ns,fp) (fscanf(fp,PIXSTDFMT,ns,sl)==2)
+ 
+-extern char  *fgets(), *resolu2str();
++extern char  *resolu2str();
+ 
+ /* End of resolu.h defs */
+ 



Home | Main Index | Thread Index | Old Index