Hi,

Is there a continued need to patch keyboard.c?

It should now build 'as is', it certainly does as a standalone build
from the git tree.

Kind regards,
-- Michael

On 06/08/2024 19:57, Jag Talon wrote:
Reverted back to fetching the tarball from the main website.

Thank you, Michael and Stuart! Tested on powerpc and amd64.

Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/brandy/Makefile,v
diff -u -p -u -r1.8 Makefile
--- Makefile    5 Aug 2024 18:06:01 -0000       1.8
+++ Makefile    6 Aug 2024 18:56:57 -0000
@@ -1,9 +1,10 @@
  COMMENT =     interpreter for BBC Basic (Basic VI)
-V = 1.23.2
+V =            1.23.3
  DISTNAME =    MatrixBrandy-${V}
  PKGNAME =     brandy-${V}
  EXTRACT_SUFX =        .tar.xz
+SITES =        http://brandy.matrixnetwork.co.uk/releases/
CATEGORIES = lang @@ -15,13 +16,14 @@ PERMIT_PACKAGE = Yes WANTLIB += SDL X11 c m pthread -SITES = http://brandy.matrixnetwork.co.uk/releases/
-
  LIB_DEPENDS +=        devel/sdl
  USE_GMAKE =   Yes
# since we disable git
  CFLAGS +=     -DBRANDY_RELEASE
+
+# disable version checking at startup
+CFLAGS +=      -DBRANDY_NOVERCHECK
CFLAGS += `sdl-config --cflags` -DDEFAULT_IGNORE -Wall
  LDFLAGS +=    `sdl-config --libs` -lm -pthread -L${X11BASE}/lib/ -lX11
Index: distinfo
===================================================================
RCS file: /cvs/ports/lang/brandy/distinfo,v
diff -u -p -u -r1.2 distinfo
--- distinfo    5 Aug 2024 18:04:38 -0000       1.2
+++ distinfo    6 Aug 2024 18:56:57 -0000
@@ -1,2 +1,2 @@
-SHA256 (MatrixBrandy-1.23.2.tar.xz) = 
CI8WhMIBtzn6MObxvjlDNGNitQjbMpUWoZWN9tAXyQA=
-SIZE (MatrixBrandy-1.23.2.tar.xz) = 461888
+SHA256 (MatrixBrandy-1.23.3.tar.xz) = 
0iCNK6ZKt+ezf3ifqszzA57QIyXV6AcC3JkoUo769fQ=
+SIZE (MatrixBrandy-1.23.3.tar.xz) = 464208
Index: patches/patch-src_keyboard_c
===================================================================
RCS file: patches/patch-src_keyboard_c
diff -N patches/patch-src_keyboard_c
--- patches/patch-src_keyboard_c        5 Aug 2024 18:04:38 -0000       1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,11 +0,0 @@
-Index: src/keyboard.c
---- src/keyboard.c.orig
-+++ src/keyboard.c
-@@ -108,6 +108,7 @@
- **
- */
-
-+#include <sys/select.h>
- #include <stdio.h>
- #include <string.h>
- #include <unistd.h>

Reply via email to