diff options
author | Michele Calgaro <[email protected]> | 2020-11-15 19:23:30 +0800 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2020-11-15 19:23:30 +0800 |
commit | 0277521b268b21caf0ee21202b92784f302baadc (patch) | |
tree | 5d856f96adfbe46b57da31cf60daa1084b4e7a1e /dilos/core/tdeedu/debian/patches/dilos.patch | |
parent | eb16e7c7281e182297581fa8d565561869c81bca (diff) | |
download | tde-packaging-0277521b268b21caf0ee21202b92784f302baadc.tar.gz tde-packaging-0277521b268b21caf0ee21202b92784f302baadc.zip |
DEB: adjusted to new 'core' folder for main packages.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'dilos/core/tdeedu/debian/patches/dilos.patch')
-rw-r--r-- | dilos/core/tdeedu/debian/patches/dilos.patch | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/dilos/core/tdeedu/debian/patches/dilos.patch b/dilos/core/tdeedu/debian/patches/dilos.patch new file mode 100644 index 000000000..4b555bd83 --- /dev/null +++ b/dilos/core/tdeedu/debian/patches/dilos.patch @@ -0,0 +1,63 @@ +Index: tdeedu/kig/misc/conic-common.cpp +=================================================================== +--- tdeedu.orig/kig/misc/conic-common.cpp ++++ tdeedu/kig/misc/conic-common.cpp +@@ -28,7 +28,7 @@ + #include <cmath> + #include <algorithm> + +-#ifdef HAVE_IEEEFP_H ++#if defined(HAVE_IEEEFP_H) || defined(__dilos__) + #include <ieeefp.h> + #endif + +Index: tdeedu/kstars/kstars/indi/apogee/ApogeeLinux.h +=================================================================== +--- tdeedu.orig/kstars/kstars/indi/apogee/ApogeeLinux.h ++++ tdeedu/kstars/kstars/indi/apogee/ApogeeLinux.h +@@ -10,6 +10,10 @@ + #ifndef APOGEELINUX_H + #define APOGEELINUX_H + ++#ifdef __dilos__ ++#include <sys/ioccom.h> ++#endif /* __dilos__ */ ++ + #define APISA_READ_USHORT _IOR('a', 0x01, unsigned int) + #define APISA_READ_LINE _IOR('a', 0x02, unsigned int) + #define APISA_WRITE_USHORT _IOW('a', 0x03, unsigned int) +Index: tdeedu/kstars/kstars/indi/apogee/ApnCamera.h +=================================================================== +--- tdeedu.orig/kstars/kstars/indi/apogee/ApnCamera.h ++++ tdeedu/kstars/kstars/indi/apogee/ApnCamera.h +@@ -13,6 +13,17 @@ + #if !defined(AFX_APNCAMERA_H__CF513996_359F_4103_BBA6_2C730AE2C301__INCLUDED_) + #define AFX_APNCAMERA_H__CF513996_359F_4103_BBA6_2C730AE2C301__INCLUDED_ + ++#ifdef __dilos__ ++#include <stdio.h> ++#include <stdlib.h> ++#include <unistd.h> ++#include <string.h> ++#define ULONG ulong ++#define USHORT ushort ++#define PUSHORT short unsigned int * ++#define Sleep sleep ++#endif /*__dilos__ */ ++ + #include "Apogee.h" + #include "Apn.h" + #include "FpgaRegs.h" +Index: tdeedu/kig/misc/cubic-common.cc +=================================================================== +--- tdeedu.orig/kig/misc/cubic-common.cc ++++ tdeedu/kig/misc/cubic-common.cc +@@ -21,7 +21,7 @@ + #include "kignumerics.h" + #include "kigtransform.h" + +-#ifdef HAVE_IEEEFP_H ++#if defined(HAVE_IEEEFP_H) || defined(__dilos__) + #include <ieeefp.h> + #endif + |