Skip to content

Commit

Permalink
Update syncterm to 1.6.
Browse files Browse the repository at this point in the history
  • Loading branch information
fcambus committed Mar 1, 2025
1 parent d334b30 commit b6a6e0f
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 45 deletions.
4 changes: 2 additions & 2 deletions comms/syncterm/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
COMMENT= BBS terminal program

DISTNAME= syncterm-1.1
REVISION= 4
DISTNAME= syncterm-1.6

CATEGORIES= comms net

Expand Down Expand Up @@ -29,6 +28,7 @@ MAKE_FLAGS= RELEASE=1 \
WITHOUT_CRYPTLIB=1 \
USE_SDL=1 \
SDL_CONFIG=${LOCALBASE}/bin/sdl2-config \
MANPREFIX=${PREFIX} \
QUIET=
CFLAGS+= -DN_CURSES_LIB
CFLAGS+= ${PICFLAG}
Expand Down
4 changes: 2 additions & 2 deletions comms/syncterm/distinfo
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
SHA256 (syncterm-1.1-src.tgz) = 0XfkRMbLlrzuV2B17RcdPYeC1kB4VcTWgOHeqOMyp6Y=
SIZE (syncterm-1.1-src.tgz) = 18270212
SHA256 (syncterm-1.6-src.tgz) = eeOuQ9OfmKWSJo/0AJQJTaYqpYe1uSXmt0WdZqXRHUk=
SIZE (syncterm-1.6-src.tgz) = 10986287
30 changes: 15 additions & 15 deletions comms/syncterm/patches/patch-src_build_Common_gmake
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
Don't hardcode -fpic, some of our architectures need -fPIC.
Don't hardcode -O2.
Don't hardcode -O3.

Index: src/build/Common.gmake
--- src/build/Common.gmake.orig
+++ src/build/Common.gmake
@@ -225,7 +225,6 @@ endif
ifeq ($(machine),x86_64)
machine := x64
@@ -279,7 +279,6 @@ ifeq ($(machine_uname),x86_64)
machine_uname := x64
endif
-CFLAGS += -fpic
ifeq ($(machine),sparc64)
CFLAGS += -D__BIG_ENDIAN__
ifndef win
- CFLAGS += -fpic
endif
@@ -433,7 +432,7 @@ ifdef DEBUG
ifeq ($(machine_uname),sparc64)
CFLAGS += -D__BIG_ENDIAN__
@@ -524,7 +523,7 @@ ifdef DEBUG
else # RELEASE
# -finline functions breaks the baja build badly.
# This also means that -O3 won't work either.
- CFLAGS := -O2 -fomit-frame-pointer -ffast-math -funroll-loops $(CFLAGS)
+ CFLAGS := -fomit-frame-pointer -ffast-math -funroll-loops $(CFLAGS)
endif

-include targets.mk
# -finline-functions (used to) break the baja build badly.
# This also meant that -O3 wouldn't work either.
- CFLAGS := -O3 -Wno-unused-result -ffast-math -funroll-loops $(CFLAGS) -DNDEBUG
+ CFLAGS := -Wno-unused-result -ffast-math -funroll-loops $(CFLAGS) -DNDEBUG
ifndef NO_LTO
# Not Yet... this requires more care with library ordering.
# CFLAGS += -flto
14 changes: 7 additions & 7 deletions comms/syncterm/patches/patch-src_xpdev_genwrap_h
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ ARCHITECTURE_DESC is unused, no need to error out for that.
Index: src/xpdev/genwrap.h
--- src/xpdev/genwrap.h.orig
+++ src/xpdev/genwrap.h
@@ -208,7 +208,7 @@ extern "C" {
#elif defined(_M_IA64) || defined(__ia64__)
#define ARCHITECTURE_DESC "ia64"
#else
- #error "Need to describe target architecture"
+ #define ARCHITECTURE_DESC "unknown"
@@ -228,7 +228,7 @@ extern "C" {
#ifdef UNAME_ARCHITECTURE_DESC
#define ARCHITECTURE_DESC UNAME_ARCHITECTURE_DESC
#else
- #error "Need to describe target architecture"
+ #define ARCHITECTURE_DESC "unknown"
#endif
#endif

/*********************/
14 changes: 0 additions & 14 deletions comms/syncterm/patches/patch-src_xpdev_ini_file_c

This file was deleted.

14 changes: 9 additions & 5 deletions comms/syncterm/pkg/PLIST
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
@bin bin/syncterm
@man man/man1/syncterm.1
share/applications/
share/applications/syncterm.desktop
share/icons/
share/icons/hicolor/
share/icons/hicolor/64x64/
share/icons/hicolor/64x64/apps/
share/icons/hicolor/16x16/apps/syncterm.png
share/icons/hicolor/22x22/apps/syncterm.png
share/icons/hicolor/24x24/apps/syncterm.png
share/icons/hicolor/256x256/apps/syncterm.png
share/icons/hicolor/32x32/apps/syncterm.png
share/icons/hicolor/36x36/apps/syncterm.png
share/icons/hicolor/48x48/apps/syncterm.png
share/icons/hicolor/64x64/apps/syncterm.png
@tag update-desktop-database
@tag gtk-update-icon-cache %D/share/icons/hicolor
share/icons/hicolor/scalable/apps/syncterm-mini.svg
share/icons/hicolor/scalable/apps/syncterm.svg

0 comments on commit b6a6e0f

Please sign in to comment.