pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Outdated version of uCON64.
Hi Daniël!
I've just updated the package.
I've attached the three patches we're using in pkgsrc now.
A short description:
* OF() is not defined in all zlib.h installations.
* We want to let users define their own optimization settings, so I've removed the -O3 override
* A header file needs to learn about NetBSD (which also provides inttypes.h)
Perhaps you can merge at least two of them :)
Thanks,
Thomas
On Sun, Mar 04, 2018 at 09:31:40AM +0100, "Daniël Hörchner" wrote:
> L.S.,
>
> I noticed on http://pkgsrc.se/emulators/ucon64 that you are still using version
> 2.0.0 of uCON64, which I develop and maintain. Would it be possible for you to
> upgrade to the latest version, 2.1.0? It includes quite a few bug fixes and
> code improvements as well as new features. If you need any assistance I am
> willing to help, but I do not have access to nor the time to set up a machine
> running NetBSD.
> The download link of the source code of uCON64 2.1.0 is:
> https://sourceforge.net/projects/ucon64/files/ucon64/ucon64-2.1.0/ucon64-2.1.0-src.tar.gz/download
>
> Kind regards,
> Daniël
>
$NetBSD: patch-Makefile,v 1.1 2018/03/04 15:20:02 wiz Exp $
Do not hardcode -O3.
--- Makefile.orig 2017-08-05 23:02:35.000000000 +0000
+++ Makefile
@@ -2,7 +2,7 @@
CC=gcc
CFLAGS0:=$(CFLAGS)
-CFLAGS+=-I. -Wall -W -O3
+CFLAGS+=-I. -Wall -W
LDFLAGS0:=$(LDFLAGS)
ifeq ($(findstring darwin,$(OSTYPE)),) # false if OSTYPE contains "darwin"
# On Mac OS X using -s gives the following warning:
$NetBSD: patch-libdiscmage_libdiscmage.h,v 1.1 2018/03/04 15:20:02 wiz Exp $
Fix build on NetBSD.
--- libdiscmage/libdiscmage.h.orig 2015-11-16 01:33:49.000000000 +0000
+++ libdiscmage/libdiscmage.h
@@ -28,7 +28,7 @@ extern "C" {
#include <stdio.h> // FILENAME_MAX
-#if defined __linux__ || defined __FreeBSD__ || defined __OpenBSD__ || \
+#if defined __linux__ || defined __FreeBSD__ || defined __OpenBSD__ || defined(__NetBSD__) \
defined __solaris__ || defined __MINGW32__ || defined __CYGWIN__ || \
defined __BEOS__ || defined AMIGA || defined __APPLE__ // Mac OS X actually
// We cannot use config.h (for HAVE_INTTYPES_H), because this header file may be
$NetBSD: patch-misc_unzip.h,v 1.1 2018/03/04 15:20:02 wiz Exp $
Define OF() macro that's not available everywhere.
--- misc/unzip.h.orig 2016-03-03 14:12:07.000000000 +0000
+++ misc/unzip.h
@@ -48,6 +48,9 @@
#ifdef __cplusplus
extern "C" {
#endif
+#ifndef OF
+#define OF(x) x
+#endif
#ifndef _ZLIB_H
#include "zlib.h"
Home |
Main Index |
Thread Index |
Old Index