Files
haikuports/dev-embedded/2cdt/patches/2cdt-2016.06.17.patchset
Adrien Destugues 7ca338d112 2cdt: update to current version
- Archive was repackaged, but there is no changelog?
- Fix patchset filename
- Add SOURCE_FILENAME since the archive on the server does not change
  name accross versions.
2016-07-26 07:25:54 +02:00

51 lines
1.1 KiB
Plaintext

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