Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/modeline modeline: fix package that I previously b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c5e17abe965e
branches:  trunk
changeset: 437429:c5e17abe965e
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Mon Aug 24 06:30:58 2020 +0000

description:
modeline: fix package that I previously broke due to a missing DIST_SUBDIR

diffstat:

 x11/modeline/Makefile         |   5 +++--
 x11/modeline/distinfo         |   4 ++--
 x11/modeline/patches/patch-aa |  17 ++++-------------
 3 files changed, 9 insertions(+), 17 deletions(-)

diffs (69 lines):

diff -r 6b26f2b92871 -r c5e17abe965e x11/modeline/Makefile
--- a/x11/modeline/Makefile     Mon Aug 24 06:00:47 2020 +0000
+++ b/x11/modeline/Makefile     Mon Aug 24 06:30:58 2020 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.16 2020/08/18 02:01:43 tnn Exp $
+# $NetBSD: Makefile,v 1.17 2020/08/24 06:30:58 tnn Exp $
 
 DISTNAME=              modeline_vfr.c
 PKGNAME=               modeline-20060729
+PKGREVISION=           1
 CATEGORIES=            x11
 MASTER_SITES=          http://www.bohne-lang.de/spec/linux/modeline/
 EXTRACT_SUFX=          # empty
@@ -16,7 +17,7 @@
 
 do-extract:
        ${MKDIR} ${WRKSRC}
-       ${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}
+       ${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${WRKSRC}
 
 do-build:
        cd ${WRKSRC}; ${CC} ${CFLAGS} ${DISTNAME} -o ${DISTNAME:S/.c//}
diff -r 6b26f2b92871 -r c5e17abe965e x11/modeline/distinfo
--- a/x11/modeline/distinfo     Mon Aug 24 06:00:47 2020 +0000
+++ b/x11/modeline/distinfo     Mon Aug 24 06:30:58 2020 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.6 2020/08/18 02:01:43 tnn Exp $
+$NetBSD: distinfo,v 1.7 2020/08/24 06:30:58 tnn Exp $
 
 SHA1 (modeline-20060729/modeline_vfr.c) = 0ce2771e46344fde9abc3d81c2a8775265c955c2
 RMD160 (modeline-20060729/modeline_vfr.c) = 42f03cd4851e5d222ee8b8dce3d4ddd17640a88c
 SHA512 (modeline-20060729/modeline_vfr.c) = 8a85f5b8546930e88893adbdae2499932de97795fa8735a45964d3d2ba13941aec28800210e2a6c9b4e038aff687bcb083c166bf1b73348f07c274471f4e4c13
 Size (modeline-20060729/modeline_vfr.c) = 2437 bytes
-SHA1 (patch-aa) = d8d425c25814f23e0bec4cc1b3cbff8405e9cdec
+SHA1 (patch-aa) = 2f8795bc9b8108c9c77f9b9b28055be39e91121f
diff -r 6b26f2b92871 -r c5e17abe965e x11/modeline/patches/patch-aa
--- a/x11/modeline/patches/patch-aa     Mon Aug 24 06:00:47 2020 +0000
+++ b/x11/modeline/patches/patch-aa     Mon Aug 24 06:30:58 2020 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.2 2012/08/10 18:00:14 joerg Exp $
+$NetBSD: patch-aa,v 1.3 2020/08/24 06:30:58 tnn Exp $
 
 Check that the proper arguments are given.
 
---- modeline_vfr.c.orig        2012-08-10 12:53:32.000000000 +0000
+--- modeline_vfr.c.orig        2020-08-24 06:27:34.226844393 +0000
 +++ modeline_vfr.c
 @@ -6,7 +6,7 @@
  *
@@ -13,17 +13,8 @@
  * Output: Modeline
  *
  * Example use:
-@@ -20,7 +20,7 @@
- #include<stdlib.h>
- 
- int
--main( char argc, char** argv )
-+main( int argc, char** argv )
- {
-       float           hr,vr;
-       float           dcf;
-@@ -44,6 +44,12 @@ main( char argc, char** argv )
-       float   step =10;
+@@ -44,6 +44,12 @@ main( int argc, char** argv )
+       float   step =10.0;
        float   s_rr;
  
 +      if (argc != 4) {



Home | Main Index | Thread Index | Old Index