Package: sdcc-libraries
Severity: wishlist
Tags: patch

The pic16 support is disabled by default as it needs gputils for
compilation and gputils is not available on the sourceforge compilation
farms where the project is hosted. Please compile sdcc with pic16 support. 
A patch is attached.

Thanks,
Michael

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (300, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.5
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
diff -ur sdcc-2.5.0.orig/debian/control sdcc-2.5.0/debian/control
--- sdcc-2.5.0.orig/debian/control      2005-08-20 01:31:27.000000000 +0200
+++ sdcc-2.5.0/debian/control   2005-08-20 01:47:04.000000000 +0200
@@ -2,7 +2,7 @@
 Section: electronics
 Priority: optional
 Maintainer: Aurelien Jarno <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>> 4.0.0), flex, bison, libncurses5-dev 
+Build-Depends: debhelper (>> 4.0.0), flex, bison, libncurses5-dev, gputils
 Build-Depends-Indep: lyx-xforms (>> 1.3.1) | lyx (>> 1.3.1), tetex-bin, 
tetex-extra, gs-common, gs
 Standards-Version: 3.6.1
 
@@ -25,6 +25,7 @@
 Architecture: all
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Conflicts: sdcc (<< 2.3.8+cvs20040218-1)
+Recommends: gputils
 Description: Small Device C Compiler (libraries)
  SDCC is a C compiler for the Intel MCS51 family, AVR, HC08, PIC
  and Z80 microcontrollers.
diff -ur sdcc-2.5.0.orig/debian/rules sdcc-2.5.0/debian/rules
--- sdcc-2.5.0.orig/debian/rules        2005-08-20 01:31:27.000000000 +0200
+++ sdcc-2.5.0/debian/rules     2005-08-20 01:41:32.000000000 +0200
@@ -46,6 +46,12 @@
 
 config.status: configure
        dh_testdir
+       cd device/lib/pic16
+       ./configure \
+               --host=$(DEB_HOST_GNU_TYPE) \
+               --build=$(DEB_BUILD_GNU_TYPE) \
+               --prefix=/usr
+       cd ../../..
        ./configure \
                --host=$(DEB_HOST_GNU_TYPE) \
                --build=$(DEB_BUILD_GNU_TYPE) \
diff -ur sdcc-2.5.0.orig/device/lib/Makefile.in 
sdcc-2.5.0/device/lib/Makefile.in
--- sdcc-2.5.0.orig/device/lib/Makefile.in      2005-04-14 15:42:22.000000000 
+0200
+++ sdcc-2.5.0/device/lib/Makefile.in   2005-08-20 01:32:26.000000000 +0200
@@ -170,7 +170,7 @@
 
 # Compiling entire program or any subproject
 # ------------------------------------------
-all: checkconf models model-ds390 model-ds400 model-z80 model-gbz80 model-hc08
+all: checkconf models model-ds390 model-ds400 model-z80 model-gbz80 model-hc08 
model-pic16
 
 # model-pic16
 # (needs gputils curently not available of sourceforge's compile farm)

Reply via email to