mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
2cdt: update to current version.
Remove older one as the sourcefile doesn't change names in upstream, it just gets replaced… fortunately, not too often.
This commit is contained in:
@@ -27,9 +27,9 @@ LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://cpctech.cpc-live.com/download/2cdt.zip"
|
||||
SOURCE_FILENAME="2cdt-$portVersion.zip"
|
||||
CHECKSUM_SHA256="8511b28e4d0a02950a3392942a792f86bf029ca92aa116d23c8f3b969d84c9c8"
|
||||
CHECKSUM_SHA256="490bba3a1ecac40392093943e52471d6a35df0bbccfb223481060da28bc3a1af"
|
||||
SOURCE_DIR="2cdt"
|
||||
PATCHES="2cdt-$portVersion.patchset"
|
||||
#PATCHES="2cdt-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2"
|
||||
|
||||
@@ -1,50 +0,0 @@
|
||||
From 00e1c8d348aa0fad7918a3b3905809cffbfc661e Mon Sep 17 00:00:00 2001
|
||||
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
||||
Date: Fri, 22 Jul 2016 07:12:04 +0200
|
||||
Subject: Remove useless include.
|
||||
|
||||
|
||||
diff --git a/src/2cdt.c b/src/2cdt.c
|
||||
index fb1f61b..946977a 100644
|
||||
--- a/src/2cdt.c
|
||||
+++ b/src/2cdt.c
|
||||
@@ -23,11 +23,13 @@ on the PC */
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
+#ifndef __HAIKU__
|
||||
#ifdef UNIX
|
||||
#include <sys/io.h>
|
||||
#else
|
||||
#include <io.h>
|
||||
#endif
|
||||
+#endif
|
||||
#include "defs.h"
|
||||
#include "tzxfile.h"
|
||||
#include "opth.h"
|
||||
--
|
||||
2.7.0
|
||||
|
||||
|
||||
From 4e61020433213eb286630b776809f557c54108ec Mon Sep 17 00:00:00 2001
|
||||
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
||||
Date: Fri, 22 Jul 2016 22:07:13 +0200
|
||||
Subject: Makefile: add missing source.
|
||||
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 379c9c6..983170f 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -13,7 +13,7 @@ CFLAGS = -O2 -O3 -DUNIX
|
||||
LFLAGS1 =
|
||||
LFLAGS2 = -s
|
||||
|
||||
-CDT_O= src/2cdt.o src/tzxfile.o
|
||||
+CDT_O= src/2cdt.o src/tzxfile.o src/opth.c
|
||||
|
||||
2cdt: $(CDT_O)
|
||||
$(BIND) $(CDT_O) -o 2cdt $(LFLAGS1) $(LFLAGS2) $(LIBS)
|
||||
--
|
||||
2.7.0
|
||||
|
||||
27
dev-embedded/2cdt/patches/2cdt-2016.10.16.patchset
Normal file
27
dev-embedded/2cdt/patches/2cdt-2016.10.16.patchset
Normal file
@@ -0,0 +1,27 @@
|
||||
From 1240bcb688b89dba024ccacbdd26896415b78296 Mon Sep 17 00:00:00 2001
|
||||
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
||||
Date: Wed, 10 May 2017 21:24:37 +0200
|
||||
Subject: Haiku build fix.
|
||||
|
||||
|
||||
diff --git a/src/2cdt.c b/src/2cdt.c
|
||||
index dd35af1..c7320a6 100644
|
||||
--- a/src/2cdt.c
|
||||
+++ b/src/2cdt.c
|
||||
@@ -24,11 +24,13 @@ on the PC */
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
+#ifndef __HAIKU__
|
||||
#ifdef UNIX
|
||||
#include <sys/io.h>
|
||||
#else
|
||||
#include <io.h>
|
||||
#endif
|
||||
+#endif
|
||||
#include "defs.h"
|
||||
#include "tzxfile.h"
|
||||
#include "opth.h"
|
||||
--
|
||||
2.12.2
|
||||
|
||||
Reference in New Issue
Block a user