pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/fujiplay Remove call to sync(2). It's not pr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ed76611b3350
branches:  trunk
changeset: 490429:ed76611b3350
user:      tv <tv%pkgsrc.org@localhost>
date:      Thu Mar 10 14:07:29 2005 +0000

description:
Remove call to sync(2).  It's not providing anything useful here, it's
nonportable, and it's not available on Interix either.

diffstat:

 graphics/fujiplay/Makefile         |   5 +++--
 graphics/fujiplay/distinfo         |   4 ++--
 graphics/fujiplay/patches/patch-aa |  10 ++++++++--
 3 files changed, 13 insertions(+), 6 deletions(-)

diffs (58 lines):

diff -r d5501e4a98a4 -r ed76611b3350 graphics/fujiplay/Makefile
--- a/graphics/fujiplay/Makefile        Thu Mar 10 13:31:05 2005 +0000
+++ b/graphics/fujiplay/Makefile        Thu Mar 10 14:07:29 2005 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.8 2005/02/21 20:26:11 hubertf Exp $
+# $NetBSD: Makefile,v 1.9 2005/03/10 14:07:29 tv Exp $
 #
 
 DISTNAME=      fujiplay
 PKGNAME=       fujiplay-1.33
+PKGREVISION=   1
 CATEGORIES=    graphics
 MASTER_SITES=  http://topo.math.u-psud.fr/~bousch/
 EXTRACT_SUFX=  .tgz
@@ -14,7 +15,7 @@
 DIST_SUBDIR=   fujiplay-1.33
 WRKSRC=                ${WRKDIR}
 
-post-patch:
+xpost-patch:
        cd ${WRKSRC} ; ${MV} fujiplay.c fujiplay.c.orig2 ; \
        ${SED} \
                -e '791,794s/^/"/g' \
diff -r d5501e4a98a4 -r ed76611b3350 graphics/fujiplay/distinfo
--- a/graphics/fujiplay/distinfo        Thu Mar 10 13:31:05 2005 +0000
+++ b/graphics/fujiplay/distinfo        Thu Mar 10 14:07:29 2005 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2005/02/24 08:45:05 agc Exp $
+$NetBSD: distinfo,v 1.6 2005/03/10 14:07:29 tv Exp $
 
 SHA1 (fujiplay-1.33/fujiplay.tgz) = 6a2a42a87bb78d5eeeb040afb72636aa0aed692c
 RMD160 (fujiplay-1.33/fujiplay.tgz) = 91cbf301bd8e67a5753748d675ee1294c7d31ad7
 Size (fujiplay-1.33/fujiplay.tgz) = 12588 bytes
-SHA1 (patch-aa) = 7b5c2ed2393cae5a470bd063486460919ec0ada9
+SHA1 (patch-aa) = b52f974684e094967fac1997b2e3eb0b10698e54
 SHA1 (patch-ab) = 9218c7987561e25987b509ead9e70cd4b5e35e24
diff -r d5501e4a98a4 -r ed76611b3350 graphics/fujiplay/patches/patch-aa
--- a/graphics/fujiplay/patches/patch-aa        Thu Mar 10 13:31:05 2005 +0000
+++ b/graphics/fujiplay/patches/patch-aa        Thu Mar 10 14:07:29 2005 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.2 2004/05/27 22:20:00 hubertf Exp $
+$NetBSD: patch-aa,v 1.3 2005/03/10 14:07:29 tv Exp $
 
---- fujiplay.c.orig    1999-02-23 10:30:31.000000000 +0100
+--- fujiplay.c.orig    1999-02-23 04:30:31.000000000 -0500
 +++ fujiplay.c
 @@ -36,5 +36,5 @@
  #endif
@@ -78,3 +78,9 @@
 +"  DSCxxxxx.JPG       Files to delete or to upload into the camera\n";
  
  const char *Copyright = "\
+@@ -985,5 +984,4 @@ set_date_from_arg:
+       }
+       if (delete_after) {
+-              sync();
+               deleted = 0;
+               for (c = pictures; c > 0; c--)



Home | Main Index | Thread Index | Old Index