pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/hugs



Module Name:    pkgsrc
Committed By:   pho
Date:           Sun Aug 17 20:07:06 UTC 2025

Modified Files:
        pkgsrc/lang/hugs: Makefile distinfo
Added Files:
        pkgsrc/lang/hugs/patches: patch-src_bignums.c

Log Message:
lang/hugs: Fix pkg/43609


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 pkgsrc/lang/hugs/Makefile
cvs rdiff -u -r1.20 -r1.21 pkgsrc/lang/hugs/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/hugs/patches/patch-src_bignums.c

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

Modified files:

Index: pkgsrc/lang/hugs/Makefile
diff -u pkgsrc/lang/hugs/Makefile:1.46 pkgsrc/lang/hugs/Makefile:1.47
--- pkgsrc/lang/hugs/Makefile:1.46      Tue Jun  6 12:41:44 2023
+++ pkgsrc/lang/hugs/Makefile   Sun Aug 17 20:07:06 2025
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.46 2023/06/06 12:41:44 riastradh Exp $
+# $NetBSD: Makefile,v 1.47 2025/08/17 20:07:06 pho Exp $
 
 DISTNAME=      hugs98-Sep2006
 PKGNAME=       hugs98-200609
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    lang
 MASTER_SITES=  http://cvs.haskell.org/Hugs/downloads/2006-09/
 

Index: pkgsrc/lang/hugs/distinfo
diff -u pkgsrc/lang/hugs/distinfo:1.20 pkgsrc/lang/hugs/distinfo:1.21
--- pkgsrc/lang/hugs/distinfo:1.20      Tue Oct 26 10:51:38 2021
+++ pkgsrc/lang/hugs/distinfo   Sun Aug 17 20:07:06 2025
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.20 2021/10/26 10:51:38 nia Exp $
+$NetBSD: distinfo,v 1.21 2025/08/17 20:07:06 pho Exp $
 
 BLAKE2s (hugs98-Sep2006.tar.gz) = 48c90590740b31354b5aaa76198ebfaad008e904530918cdc90ade5f9e1759f0
 SHA512 (hugs98-Sep2006.tar.gz) = d09fb0d7da2fc701896cd25dba2823f30891f84190163de8bea916be3942f156b8647361fbbb394d5322e49c65f21ec864ae947287d4d056c9bb5530a1393b22
@@ -8,3 +8,4 @@ SHA1 (patch-packages_base_configure) = e
 SHA1 (patch-packages_base_configure.ac) = 9653d4dba5085402d77346a570c5202dddd5c4bc
 SHA1 (patch-packages_base_include_HsBase.h) = b71d74c302bd8974176e55d076ac32ca029a6763
 SHA1 (patch-packages_base_include_HsBaseConfig.h.in) = 3cbe42c0752952238f23069d9524c7015337434d
+SHA1 (patch-src_bignums.c) = 9a8095c48d5a5087123585f9145dad40782582f8

Added files:

Index: pkgsrc/lang/hugs/patches/patch-src_bignums.c
diff -u /dev/null pkgsrc/lang/hugs/patches/patch-src_bignums.c:1.1
--- /dev/null   Sun Aug 17 20:07:06 2025
+++ pkgsrc/lang/hugs/patches/patch-src_bignums.c        Sun Aug 17 20:07:06 2025
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_bignums.c,v 1.1 2025/08/17 20:07:06 pho Exp $
+
+Fix a sign extension bug [pkg/43609]
+
+Hugs no longer has a maintainer. Its development has stopped as of
+2006. Nowhere to send this patch.
+
+--- src/bignums.c.orig 2004-10-29 12:43:09.000000000 +0000
++++ src/bignums.c
+@@ -117,7 +117,7 @@ Int n; {
+       unsigned long no;
+       Cell nx;
+       if (n<0) {
+-          no = (unsigned long)(-n);
++          no = (unsigned long)(-(long)n);
+           bn = pair(NEGNUM,NIL);
+       }
+       else {



Home | Main Index | Thread Index | Old Index