Subversion Repositories svnkaklik

Compare Revisions

Ignore whitespace Rev 391 → Rev 392

/programy/Asus_C/indi/Makefile
48,15 → 48,19
touch $@
 
$(PKG_BUILD_DIR)/.built:
$(MAKE) -C $(PKG_BUILD_DIR) \
CC=$(TARGET_CC)
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)/usr/bin
$(MAKE) -C $(PKG_BUILD_DIR)/src \
$(TARGET_CONFIGURE_OPTS) \
prefix="$(PKG_INSTALL_DIR)/usr"
$(CP) $(PKG_BUILD_DIR)/indi/src $(PKG_INSTALL_DIR)/usr/bin
touch $@
 
$(IPKG_STRACE):
mkdir -p $(IDIR_STRACE)/usr/sbin
cp $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_STRACE)/usr/sbin/
$(STRIP) $(IDIR_STRACE)/usr/sbin/*
$(IPKG_BUILD) $(IDIR_STRACE) $(PACKAGE_DIR)
$(IPKG_INDISERVER):
install -d -m0755 $(IDIR_INDISERVER)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/indiserver $(IDIR_INDISERVER)/usr/bin
$(RSTRIP) $(IDIR_INDISERVER)
$(IPKG_BUILD) $(IDIR_INDISERVER) $(PACKAGE_DIR)
 
mostlyclean:
$(MAKE) -C $(PKG_BUILD_DIR) clean
/programy/Asus_C/indi/patches/indiserver-0.5.patch
0,0 → 1,50
diff -ruN indi/src/apogee/ApogeeUsbLinux.cpp indi.new/src/apogee/ApogeeUsbLinux.cpp
--- indi/src/apogee/ApogeeUsbLinux.cpp 2007-04-15 21:14:46.000000000 +0200
+++ indi.new/src/apogee/ApogeeUsbLinux.cpp 2007-10-13 12:15:14.000000000 +0200
@@ -21,7 +21,7 @@
//
#include <assert.h>
-#include <sys/io.h>
+//#include <sys/io.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <sys/ioctl.h>
diff -ruN indi/src/apogee/CameraIO_LinuxISA.cpp indi.new/src/apogee/CameraIO_LinuxISA.cpp
--- indi/src/apogee/CameraIO_LinuxISA.cpp 2007-04-15 21:14:46.000000000 +0200
+++ indi.new/src/apogee/CameraIO_LinuxISA.cpp 2007-10-13 12:11:04.000000000 +0200
@@ -22,7 +22,7 @@
//////////////////////////////////////////////////////////////////////
#include <assert.h>
-#include <sys/io.h>
+//#include <sys/io.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <sys/ioctl.h>
diff -ruN indi/src/apogee/CameraIO_LinuxPCI.cpp indi.new/src/apogee/CameraIO_LinuxPCI.cpp
--- indi/src/apogee/CameraIO_LinuxPCI.cpp 2007-04-15 21:14:46.000000000 +0200
+++ indi.new/src/apogee/CameraIO_LinuxPCI.cpp 2007-10-13 12:12:30.000000000 +0200
@@ -22,7 +22,7 @@
//////////////////////////////////////////////////////////////////////
#include <assert.h>
-#include <sys/io.h>
+//#include <sys/io.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <sys/ioctl.h>
diff -ruN indi/src/indicom.c indi.new/src/indicom.c
--- indi/src/indicom.c 2007-04-15 23:06:20.000000000 +0200
+++ indi.new/src/indicom.c 2007-10-13 12:25:38.000000000 +0200
@@ -236,10 +236,6 @@
#if defined(__GLIBC__) && (__GLIBC_MINOR__ >=1 && !defined(__UCLIBC__))
/* GNU version */
sincos( DegToRad(Degrees), &Sin, &Cos );
- #else
- /* For older GLIBC versions */
- Sin = ::sin( DegToRad(Degrees) );
- Cos = ::cos( DegToRad(Degrees) );
#endif
#else
/* ANSI-compliant version */