FreeBSD Bugzilla – Attachment 233019 Details for
Bug 262693
irc/scrollz: Update to 2.3.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to update to 2.3.1 without USE_GCC
irc_scrollz_2.3.1.diff (text/plain), 8.37 KB, created by
Fernando ApesteguĂa
on 2022-04-07 09:27:08 UTC
(
hide
)
Description:
Patch to update to 2.3.1 without USE_GCC
Filename:
MIME Type:
Creator:
Fernando ApesteguĂa
Created:
2022-04-07 09:27:08 UTC
Size:
8.37 KB
patch
obsolete
>diff --git a/irc/scrollz/Makefile b/irc/scrollz/Makefile >index 21ca6024d365..457e5eff8b05 100644 >--- a/irc/scrollz/Makefile >+++ b/irc/scrollz/Makefile >@@ -1,9 +1,8 @@ > # Created by: Will Andrews <andrews@technologist.com> > > PORTNAME= ScrollZ >-PORTVERSION= 2.3 >+PORTVERSION= 2.3.1 > DISTVERSIONPREFIX= ${PORTNAME}- >-PORTREVISION= 1 > CATEGORIES= irc > > MAINTAINER= freebsd@bitchx.org >@@ -20,9 +19,9 @@ DATADIR= ${PREFIX}/share/${PORTNAME:tl} > PLIST_SUB= SCROLLZ_VER="${PORTVERSION}" > > OPTIONS_DEFINE= IPV6 REGEX UTF8 >+OPTIONS_DEFAULT= OPENSSL REGEX UTF8 > OPTIONS_RADIO= SSL > OPTIONS_RADIO_SSL= GNUTLS OPENSSL >-OPTIONS_DEFAULT= OPENSSL REGEX UTF8 > > IPV6_CONFIGURE_ENABLE= ipv6 > GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls >diff --git a/irc/scrollz/distinfo b/irc/scrollz/distinfo >index 182e20fbfb7e..1b672e82b5c8 100644 >--- a/irc/scrollz/distinfo >+++ b/irc/scrollz/distinfo >@@ -1,2 +1,3 @@ >-SHA256 (ScrollZ-ScrollZ-ScrollZ-2.3_GH0.tar.gz) = 22535bcc54ad752107ab181775d90d9cf1b37648f500d627f428388a9d3710e6 >-SIZE (ScrollZ-ScrollZ-ScrollZ-2.3_GH0.tar.gz) = 981707 >+TIMESTAMP = 1647815667 >+SHA256 (ScrollZ-ScrollZ-ScrollZ-2.3.1_GH0.tar.gz) = 4ff4570020174b2ee9a859767c349e498e5ae68e2a76f11d69c08f12979b0452 >+SIZE (ScrollZ-ScrollZ-ScrollZ-2.3.1_GH0.tar.gz) = 983428 >diff --git a/irc/scrollz/files/patch-Makefile.in b/irc/scrollz/files/patch-Makefile.in >index a382cd307bb5..8fef9a3d739b 100644 >--- a/irc/scrollz/files/patch-Makefile.in >+++ b/irc/scrollz/files/patch-Makefile.in >@@ -1,5 +1,5 @@ >---- Makefile.in.orig 2011-04-29 17:21:18.000000000 +0900 >-+++ Makefile.in 2013-03-09 19:35:03.628110600 +0900 >+--- Makefile.in.orig 2021-05-06 08:04:55 UTC >++++ Makefile.in > @@ -31,14 +31,14 @@ > # @(#)$Id: Makefile.in,v 1.23 2006-10-31 12:31:27 f Exp $ > >@@ -28,10 +28,10 @@ > datarootdir = @datarootdir@ > -mandir = @mandir@ > +mandir = @mandir@/man1 >- >+ > DESTDIR = > >-@@ -105,7 +105,7 @@ >+@@ -106,7 +106,7 @@ INSTALL_IRCFLUSH = $(bindir)/ircflush > > # This program allows you to use screen/xterm's to put new irc windows > # on new screen/xterm windows. >@@ -40,7 +40,7 @@ > > # This command will be used to install the irc help files. If you don't > # want to install them, replace with the following: >-@@ -126,14 +126,13 @@ >+@@ -127,14 +127,13 @@ INSTALL_DATA = ./bsdinstall -c -m 644 > VERSION = @VERSION@ > > SHELL = /bin/sh >@@ -56,7 +56,7 @@ > 'IRCSHARE=$(IRCSHARE)' \ > 'IRCPATH=$(IRC_PATH)' \ > 'LDFLAGS=$(LDFLAGS)' \ >-@@ -143,32 +142,23 @@ >+@@ -144,32 +143,23 @@ MFLAGS ='CC=$(CC)' \ > 'LN=$(LN)' \ > 'RM=$(RM)' > >@@ -95,7 +95,7 @@ > installbin: installirc > > installirc: scrollz installdirs >-@@ -189,8 +179,8 @@ >+@@ -190,8 +180,8 @@ installio: ircio installdirs > installflush: ircflush installdirs > $(INSTALL) source/ircflush $(DESTDIR)/$(INSTALL_IRCFLUSH) > >diff --git a/irc/scrollz/files/patch-a8b05aab b/irc/scrollz/files/patch-a8b05aab >deleted file mode 100644 >index 03ec02284f94..000000000000 >--- a/irc/scrollz/files/patch-a8b05aab >+++ /dev/null >@@ -1,16 +0,0 @@ >-diff --git a/include/ircterm.h b/include/ircterm.h >-index 1fdbfeb..1da3fab 100644 >---- include/ircterm.h >-+++ include/ircterm.h >-@@ -89,9 +89,9 @@ extern char *CM, >- extern int SG; >- /**************************** PATCHED by Flier ******************************/ >- #ifdef WANTANSI >--char *SETAF, >-+extern char *SETAF, >- *SETAB; >--int NUMCOLORS; >-+extern int NUMCOLORS; >- #endif /* WANTANSI */ >- /****************************************************************************/ >- >diff --git a/irc/scrollz/files/patch-include-screen.h b/irc/scrollz/files/patch-include-screen.h >index 4f94722f057f..a068c1ee79d5 100644 >--- a/irc/scrollz/files/patch-include-screen.h >+++ b/irc/scrollz/files/patch-include-screen.h >@@ -1,5 +1,5 @@ >---- include/screen.h.orig 2011-04-29 17:21:18.000000000 +0900 >-+++ include/screen.h 2013-03-11 23:30:07.063088471 +0900 >+--- include/screen.h.orig 2021-05-06 08:04:55 UTC >++++ include/screen.h > @@ -47,6 +47,7 @@ > #define ST_NOTHING -1 > #define ST_SCREEN 0 >diff --git a/irc/scrollz/files/patch-include-window.h b/irc/scrollz/files/patch-include-window.h >index 2bedc237fb6a..6e9aa9720875 100644 >--- a/irc/scrollz/files/patch-include-window.h >+++ b/irc/scrollz/files/patch-include-window.h >@@ -1,5 +1,5 @@ >---- include/window.h.orig 2011-04-29 17:21:18.000000000 +0900 >-+++ include/window.h 2013-03-09 18:47:08.841093765 +0900 >+--- include/window.h.orig 2021-05-06 08:04:55 UTC >++++ include/window.h > @@ -42,7 +42,7 @@ > * CREATE, that allows you to start new iscreen or xterm windows > * connected to the ircII client. >diff --git a/irc/scrollz/files/patch-source-Makefile.in b/irc/scrollz/files/patch-source-Makefile.in >index 6db7970cb4e4..c1cab3491751 100644 >--- a/irc/scrollz/files/patch-source-Makefile.in >+++ b/irc/scrollz/files/patch-source-Makefile.in >@@ -1,6 +1,6 @@ >---- source/Makefile.in.orig 2011-04-29 17:21:18.000000000 +0900 >-+++ source/Makefile.in 2013-03-09 19:07:14.372106954 +0900 >-@@ -47,7 +47,7 @@ >+--- source/Makefile.in.orig 2021-05-06 08:04:55 UTC >++++ source/Makefile.in >+@@ -47,7 +47,7 @@ IRCFLUSH_OBJECTS = ircflush.o ircsig.o > INCLUDES = -I../include > > default: >@@ -9,7 +9,7 @@ > > all: scrollz > >-@@ -63,7 +63,7 @@ >+@@ -63,7 +63,7 @@ clean:: > $(RM) scrollz $(OBJECTS) > > install: scrollz >@@ -18,7 +18,7 @@ > > # .o files needing special compilation flags > >-@@ -86,7 +86,7 @@ >+@@ -86,7 +86,7 @@ translat.o: Makefile ../Makefile > $(CC) $(CFLAGS) $(DEFS) $(PP_DEFS) $(INCLUDES) -DTRANSLATION_PATH=\"$(TRANS_DIR)/\" -c translat.c > > screen.o: Makefile ../Makefile >@@ -27,7 +27,7 @@ > > # auxiliary programs > >-@@ -96,7 +96,7 @@ >+@@ -96,7 +96,7 @@ ircflush: $(IRCFLUSH_OBJECTS) > ircio: $(IRCIO_OBJECTS) > $(CC) $(INCLUDES) $(CFLAGS) $(LDFLAGS) $(DEFS) $(PPS_DEFS) -o $@ $(IRCIO_OBJECTS) $(LIBS) > >@@ -36,7 +36,7 @@ > $(CC) $(INCLUDES) $(CFLAGS) $(LDFLAGS) $(DEFS) -o $@ $(WSERV_OBJECTS) $(LIBS) > > clean:: >-@@ -106,7 +106,7 @@ >+@@ -106,7 +106,7 @@ clean:: > $(RM) ircio ircio.o newio.o > > clean:: >diff --git a/irc/scrollz/files/patch-source-screen.c b/irc/scrollz/files/patch-source-screen.c >index 98099b689fa7..26ad2d55779f 100644 >--- a/irc/scrollz/files/patch-source-screen.c >+++ b/irc/scrollz/files/patch-source-screen.c >@@ -1,6 +1,6 @@ >---- ./source/screen.c.orig 2011-04-29 03:21:18.000000000 -0500 >-+++ ./source/screen.c 2013-07-13 07:45:53.092133202 -0500 >-@@ -2424,6 +2424,10 @@ >+--- source/screen.c.orig 2021-05-06 08:04:55 UTC >++++ source/screen.c >+@@ -2425,6 +2425,10 @@ create_additional_screen() > { > screen_type = ST_SCREEN; > } >@@ -11,7 +11,7 @@ > else if ((char *) 0 != (displayvar = getenv("DISPLAY"))) > { > if ((char *) 0 == (termvar = getenv("TERM"))) >-@@ -2462,6 +2466,7 @@ >+@@ -2463,6 +2467,7 @@ create_additional_screen() > say("Opening new %s...", > screen_type == ST_XTERM ? "window" : > screen_type == ST_SCREEN ? "screen" : >@@ -19,10 +19,11 @@ > "wound" ); > snprintf(sock.sun_path, sizeof sock.sun_path, "/tmp/irc_%08d_%x", (int) pid, mycycle); > sock.sun_family = AF_UNIX; >-@@ -2577,6 +2582,22 @@ >+@@ -2577,6 +2582,22 @@ create_additional_screen() >+ args[i++] = error_sockaddr->sun_path; > args[i] = NULL; > execvp(xterm, args); >- } >++ } > + else if (screen_type == ST_TMUX) > + { > + char *args[64], >@@ -38,7 +39,6 @@ > + Debug((3, "added: %s %s '%s'", args[i-3], args[i-2], args[i-1])); > + args[i++] = NULL; > + execvp("tmux", args); >-+ } >+ } > perror("execve"); > unlink(sockaddr->sun_path); >- unlink(error_sockaddr->sun_path); >diff --git a/irc/scrollz/files/patch-source_edit5.c b/irc/scrollz/files/patch-source_edit5.c >new file mode 100644 >index 000000000000..0ec4e04ba1f9 >--- /dev/null >+++ b/irc/scrollz/files/patch-source_edit5.c >@@ -0,0 +1,11 @@ >+--- source/edit5.c.orig 2022-04-07 09:10:00 UTC >++++ source/edit5.c >+@@ -3412,7 +3412,7 @@ int iscrypted; >+ struct urlstr *urlnew, *tmpurl, *prevurl = NULL; >+ >+ if (line == NULL) >+- return; >++ return (urlnum); >+ strmcpy(tmpbuf1, line, sizeof(tmpbuf1)); >+ *tmpstr2 = '\0'; >+ while (*tmpstr1) { >diff --git a/irc/scrollz/pkg-plist b/irc/scrollz/pkg-plist >index 3f82915998cb..3b74a714e348 100644 >--- a/irc/scrollz/pkg-plist >+++ b/irc/scrollz/pkg-plist >@@ -541,6 +541,7 @@ man/man1/scrollz.1.gz > %%DATADIR%%/help/set/netsplit_time > %%DATADIR%%/help/set/no_ask_nickname > %%DATADIR%%/help/set/no_ctcp_flood >+%%DATADIR%%/help/set/notification_level > %%DATADIR%%/help/set/notify_handler > %%DATADIR%%/help/set/notify_level > %%DATADIR%%/help/set/notify_on_termination
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 262693
:
232596
|
233019
|
233022