pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/rexx-imc



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Sat Aug  1 18:11:29 UTC 2026

Modified Files:
        pkgsrc/lang/rexx-imc: distinfo
        pkgsrc/lang/rexx-imc/patches: patch-aa patch-ab
Added Files:
        pkgsrc/lang/rexx-imc/patches: patch-interface.c patch-main.c
            patch-rxmathfn.c patch-rxque.c patch-rxstack.c patch-shell.c

Log Message:
lang/rexx-imc: Fix build with GCC 14 and honor LDFLAGS


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/lang/rexx-imc/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/rexx-imc/patches/patch-aa
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/rexx-imc/patches/patch-ab
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/rexx-imc/patches/patch-interface.c \
    pkgsrc/lang/rexx-imc/patches/patch-main.c \
    pkgsrc/lang/rexx-imc/patches/patch-rxmathfn.c \
    pkgsrc/lang/rexx-imc/patches/patch-rxque.c \
    pkgsrc/lang/rexx-imc/patches/patch-rxstack.c \
    pkgsrc/lang/rexx-imc/patches/patch-shell.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/rexx-imc/distinfo
diff -u pkgsrc/lang/rexx-imc/distinfo:1.9 pkgsrc/lang/rexx-imc/distinfo:1.10
--- pkgsrc/lang/rexx-imc/distinfo:1.9   Tue Oct 26 10:51:53 2021
+++ pkgsrc/lang/rexx-imc/distinfo       Sat Aug  1 18:11:29 2026
@@ -1,7 +1,13 @@
-$NetBSD: distinfo,v 1.9 2021/10/26 10:51:53 nia Exp $
+$NetBSD: distinfo,v 1.10 2026/08/01 18:11:29 ryoon Exp $
 
 BLAKE2s (rexx-imc-1.76.tar.gz) = 52d13703c6fdc680a003c3e31aed7a30e7986f830dfcfa2dbd4249cc507d5a66
 SHA512 (rexx-imc-1.76.tar.gz) = 2a69fe2863a9170906eda7602227d5a1550c9758805a5f935032e43b2b0e12beb9eca8c74cc694d4a9adc87ca981d6b7bf3742e290d90ad9fd9c54230a681035
 Size (rexx-imc-1.76.tar.gz) = 251581 bytes
-SHA1 (patch-aa) = 605cdc657cb85f944b5e46b8ea837bae938301d3
-SHA1 (patch-ab) = b79ee604da977922e320059c01ccb51434deb958
+SHA1 (patch-aa) = db718ef2eebe84bb114f8552e2178900595db88a
+SHA1 (patch-ab) = 5925ca04c35be441f869cddfad9d694e001c09f5
+SHA1 (patch-interface.c) = b1023b1a4a7c1870bb0e57f47318f0ad5241918c
+SHA1 (patch-main.c) = 8a418300a0f827ea6f71a50818f5964b9360f220
+SHA1 (patch-rxmathfn.c) = ae426755331d34a444287105656bd86b800a4b26
+SHA1 (patch-rxque.c) = efb384ee5d4d7ab0d66dd4ed979b5dd2537aaca4
+SHA1 (patch-rxstack.c) = 6d77e1da96a486ce3466105e74931df9e00e324c
+SHA1 (patch-shell.c) = e59f90add20828313e15aa8572db7cdaf6f3fae4

Index: pkgsrc/lang/rexx-imc/patches/patch-aa
diff -u pkgsrc/lang/rexx-imc/patches/patch-aa:1.4 pkgsrc/lang/rexx-imc/patches/patch-aa:1.5
--- pkgsrc/lang/rexx-imc/patches/patch-aa:1.4   Sun Sep 18 16:51:32 2011
+++ pkgsrc/lang/rexx-imc/patches/patch-aa       Sat Aug  1 18:11:29 2026
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.4 2011/09/18 16:51:32 ryoon Exp $
+$NetBSD: patch-aa,v 1.5 2026/08/01 18:11:29 ryoon Exp $
 
 BSD-style Makefile (with libtool support)
 
---- Makefile.orig      2011-09-18 15:50:11.000000000 +0000
+--- Makefile.orig      2026-08-01 18:07:41.936023886 +0000
 +++ Makefile
 @@ -0,0 +1,70 @@
 +LIBTOOL= libtool
@@ -30,16 +30,16 @@ BSD-style Makefile (with libtool support
 +all: ${LIBNAME} rexx rxque rxstack rxmathfn.rxfn
 +
 +${LIBNAME}: ${LIBFILES}
-+      ${LIBTOOL} --mode=link --tag=CC ${CC} -o ${.TARGET:.a=.la} ${LIBFILES:.o=.lo} -rpath ${PREFIX}/lib -version-info 1:7
++      ${LIBTOOL} --mode=link --tag=CC ${CC} -o ${.TARGET:.a=.la} ${LIBFILES:.o=.lo} -rpath ${PREFIX}/lib -version-info 1:7 ${LDFLAGS}
 +
 +rexx: ${LIBNAME} main.o
-+      ${LIBTOOL} --mode=link ${CC} main.o ${LIBNAME:.a=.la} -L${LIBDIR} -o rexx
++      ${LIBTOOL} --mode=link ${CC} main.o ${LIBNAME:.a=.la} ${LDFLAGS} -L${LIBDIR} -o rexx
 +
 +rxque: ${LIBNAME} rxque.o
-+      ${LIBTOOL} --mode=link ${CC} rxque.o ${LIBNAME:.a=.la} -L${LIBDIR} -o rxque
++      ${LIBTOOL} --mode=link ${CC} rxque.o ${LIBNAME:.a=.la} ${LDFLAGS} -L${LIBDIR} -o rxque
 +
 +rxstack: ${LIBNAME} rxstack.o
-+      ${LIBTOOL} --mode=link ${CC} rxstack.o ${LIBNAME:.a=.la} -L${LIBDIR} -o rxstack
++      ${LIBTOOL} --mode=link ${CC} rxstack.o ${LIBNAME:.a=.la} ${LDFLAGS} -L${LIBDIR} -o rxstack
 +
 +rxmathfn.rxfn: rxmathfn.c const.h functions.h
 +      ${LIBTOOL} --mode=compile $(CC) $(OPTFLAG) $(CCFLAGS) ${DATE} ${FILEDEFS} -I. -c rxmathfn.c

Index: pkgsrc/lang/rexx-imc/patches/patch-ab
diff -u pkgsrc/lang/rexx-imc/patches/patch-ab:1.3 pkgsrc/lang/rexx-imc/patches/patch-ab:1.4
--- pkgsrc/lang/rexx-imc/patches/patch-ab:1.3   Sun Sep 18 16:51:32 2011
+++ pkgsrc/lang/rexx-imc/patches/patch-ab       Sat Aug  1 18:11:29 2026
@@ -1,10 +1,18 @@
-$NetBSD: patch-ab,v 1.3 2011/09/18 16:51:32 ryoon Exp $
+$NetBSD: patch-ab,v 1.4 2026/08/01 18:11:29 ryoon Exp $
 
 Generalise for all *BSD (well, anything with Torek stdio, really)
 
 --- rxfn.c.orig        2000-11-01 18:04:28.000000000 +0000
 +++ rxfn.c
-@@ -40,8 +40,10 @@
+@@ -5,6 +5,7 @@
+ #include<memory.h>
+ #include<unistd.h>
+ #include<stdlib.h>     /* includes bsearch, random */
++#include<signal.h>
+ #include<time.h>
+ #include<pwd.h>
+ #include<errno.h>
+@@ -40,8 +41,10 @@
  #ifndef _CNT
  # ifdef linux
  #  define _CNT(fp) ((fp)->_IO_read_end - (fp)->_IO_read_ptr)

Added files:

Index: pkgsrc/lang/rexx-imc/patches/patch-interface.c
diff -u /dev/null pkgsrc/lang/rexx-imc/patches/patch-interface.c:1.1
--- /dev/null   Sat Aug  1 18:11:29 2026
+++ pkgsrc/lang/rexx-imc/patches/patch-interface.c      Sat Aug  1 18:11:29 2026
@@ -0,0 +1,12 @@
+$NetBSD: patch-interface.c,v 1.1 2026/08/01 18:11:29 ryoon Exp $
+
+--- interface.c.orig   2026-08-01 17:49:09.759925699 +0000
++++ interface.c
+@@ -10,6 +10,7 @@
+ #include <sys/types.h>
+ #include <sys/time.h>
+ #include <sys/param.h>
++#include <sys/wait.h>
+ #include "const.h"
+ #include "globals.h"
+ #include "functions.h"
Index: pkgsrc/lang/rexx-imc/patches/patch-main.c
diff -u /dev/null pkgsrc/lang/rexx-imc/patches/patch-main.c:1.1
--- /dev/null   Sat Aug  1 18:11:29 2026
+++ pkgsrc/lang/rexx-imc/patches/patch-main.c   Sat Aug  1 18:11:29 2026
@@ -0,0 +1,12 @@
+$NetBSD: patch-main.c,v 1.1 2026/08/01 18:11:29 ryoon Exp $
+
+--- main.c.orig        2026-08-01 17:49:54.934209644 +0000
++++ main.c
+@@ -23,6 +23,7 @@ static RXSTRING answer;
+ static RXSTRING instore[2];    /* "instore" argument for RexxStart */
+ static RXSTRING answer;
+ 
++int
+ main(argc,argv)  /* This function gives an interface between the command */
+ int argc;        /* line and the API function RexxStart(). */
+ char *argv[];
Index: pkgsrc/lang/rexx-imc/patches/patch-rxmathfn.c
diff -u /dev/null pkgsrc/lang/rexx-imc/patches/patch-rxmathfn.c:1.1
--- /dev/null   Sat Aug  1 18:11:29 2026
+++ pkgsrc/lang/rexx-imc/patches/patch-rxmathfn.c       Sat Aug  1 18:11:29 2026
@@ -0,0 +1,12 @@
+$NetBSD: patch-rxmathfn.c,v 1.1 2026/08/01 18:11:29 ryoon Exp $
+
+--- rxmathfn.c.orig    2026-08-01 18:04:48.401417542 +0000
++++ rxmathfn.c
+@@ -4,6 +4,7 @@
+ #include<stdio.h>
+ #include<math.h>
+ #include<stdlib.h>
++#include<string.h>
+ 
+ #if defined(Solaris) && !defined(__STDC__)
+ #define const        /* Fix broken Solaris headers */
Index: pkgsrc/lang/rexx-imc/patches/patch-rxque.c
diff -u /dev/null pkgsrc/lang/rexx-imc/patches/patch-rxque.c:1.1
--- /dev/null   Sat Aug  1 18:11:29 2026
+++ pkgsrc/lang/rexx-imc/patches/patch-rxque.c  Sat Aug  1 18:11:29 2026
@@ -0,0 +1,21 @@
+$NetBSD: patch-rxque.c,v 1.1 2026/08/01 18:11:29 ryoon Exp $
+
+--- rxque.c.orig       1999-01-17 23:00:13.000000000 +0000
++++ rxque.c
+@@ -5,6 +5,7 @@
+ #include<errno.h>
+ #include<signal.h>
+ #include<fcntl.h>
++#include<string.h>
+ #include<sys/time.h>
+ #include<sys/types.h>
+ #include<unistd.h>
+@@ -30,7 +31,7 @@ unsigned max;                        /* Number of stac
+ int empty;                           /* Is stack empty when first==last? */
+ unsigned max;                        /* Number of stack elements allocated */
+ 
+-main(argc,argv)           /* Specify "-csh" and/or a filename */
++int main(argc,argv)           /* Specify "-csh" and/or a filename */
+ int argc;
+ char **argv;
+ {
Index: pkgsrc/lang/rexx-imc/patches/patch-rxstack.c
diff -u /dev/null pkgsrc/lang/rexx-imc/patches/patch-rxstack.c:1.1
--- /dev/null   Sat Aug  1 18:11:29 2026
+++ pkgsrc/lang/rexx-imc/patches/patch-rxstack.c        Sat Aug  1 18:11:29 2026
@@ -0,0 +1,24 @@
+$NetBSD: patch-rxstack.c,v 1.1 2026/08/01 18:11:29 ryoon Exp $
+
+--- rxstack.c.orig     1996-08-01 15:41:44.000000000 +0000
++++ rxstack.c
+@@ -4,6 +4,7 @@
+ #include<stdlib.h>
+ #include<string.h>
+ #include<signal.h>
++#include<unistd.h>
+ #include<sys/types.h>
+ #include<sys/socket.h>
+ 
+@@ -15,8 +16,10 @@ int s;                               /* The socket fd 
+ char *buff;                          /* An input buffer */
+ unsigned bufflen;                    /* The amount of memory allocated */
+ int s;                               /* The socket fd */
++int x2d(char *);
++int pop(char, int);
+ 
+-main(argc,argv)
++int main(argc,argv)
+ int argc;
+ char **argv;
+ {
Index: pkgsrc/lang/rexx-imc/patches/patch-shell.c
diff -u /dev/null pkgsrc/lang/rexx-imc/patches/patch-shell.c:1.1
--- /dev/null   Sat Aug  1 18:11:29 2026
+++ pkgsrc/lang/rexx-imc/patches/patch-shell.c  Sat Aug  1 18:11:29 2026
@@ -0,0 +1,12 @@
+$NetBSD: patch-shell.c,v 1.1 2026/08/01 18:11:29 ryoon Exp $
+
+--- shell.c.orig       2026-08-01 17:48:13.792234375 +0000
++++ shell.c
+@@ -2,6 +2,7 @@
+ 
+ #include<stdio.h>
+ #include<stdlib.h>
++#include<string.h>
+ #include<unistd.h>
+ #include<errno.h>
+ #include<setjmp.h>



Home | Main Index | Thread Index | Old Index