<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title>Recent changes to patches</title><link href="http://sourceforge.net/p/bricxcc/patches/" rel="alternate"></link><id>http://sourceforge.net/p/bricxcc/patches/</id><updated>2011-09-15T15:15:52Z</updated><entry><title> solve compile error using fpc</title><link href="http://sourceforge.net/p/bricxcc/patches/6/" rel="alternate"></link><updated>2011-09-15T15:15:52Z</updated><published>2011-09-15T15:15:52Z</published><author><name>Anonymous</name><uri>http://sourceforge.net/u/userid-None/</uri></author><id>http://sourceforge.net39e391cda1a9906ab24e683700f793fdb982236e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;in revision 549 there is an error compiling uCommonUtils.pas with fpc in linux because it leaves a uses empty&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>NQC: Use a Make Variable to set the Hard-Coded Default Port</title><link href="http://sourceforge.net/p/bricxcc/patches/5/" rel="alternate"></link><updated>2009-08-18T23:48:59Z</updated><published>2009-08-18T23:48:59Z</published><author><name>mesheets</name><uri>http://sourceforge.net/u/mesheets/</uri></author><id>http://sourceforge.netac57e97268f56707fffe00455debe6d0ae8645b6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The default port name that is used when no other port names have been provided is hard-coded in the source files.  This patch enables using a Make variable to set the default port name.  For example, building with the command&lt;/p&gt;
&lt;p&gt;make DEFAULT_PORT_NAME=usb&lt;/p&gt;
&lt;p&gt;will set the default, compiled-in port name value to "usb".&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>NQC Linux: Enable Setting a Default Port Name in a Conf File</title><link href="http://sourceforge.net/p/bricxcc/patches/4/" rel="alternate"></link><updated>2009-08-06T20:41:40Z</updated><published>2009-08-06T20:41:40Z</published><author><name>mesheets</name><uri>http://sourceforge.net/u/mesheets/</uri></author><id>http://sourceforge.net62c55020f6f1af641b88647da8e91e9b7621e898</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;If no port is specified on the command line (the "-S" argument) and if the environment variable RCX_PORT is not defined, this patch enhances NQC on Linux to look for a default device name in the following configuration files (in order):&lt;br /&gt;
* ~/.rcx/device.conf&lt;br /&gt;
* /etc/rcx/device.conf&lt;/p&gt;
&lt;p&gt;These files are compatible with Bibo enhancement patches for Bibo, and patches have been created for Bibo to allow it to process port names specified in the NQC format.&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>NQC: Support Makefile Variables DESTDIR and TOOLPREFIX</title><link href="http://sourceforge.net/p/bricxcc/patches/3/" rel="alternate"></link><updated>2009-08-06T18:34:23Z</updated><published>2009-08-06T18:34:23Z</published><author><name>mesheets</name><uri>http://sourceforge.net/u/mesheets/</uri></author><id>http://sourceforge.net7497486781b1f3986b30ce4681d0360ec8b2af34</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This patch adds support for the Makefile variables DESTDIR and TOOLPREFIX, enhancing compatibility with distro packaging tools.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>NQC Linux Support - USB and TCP</title><link href="http://sourceforge.net/p/bricxcc/patches/2/" rel="alternate"></link><updated>2009-02-26T03:31:37Z</updated><published>2009-02-26T03:31:37Z</published><author><name>mesheets</name><uri>http://sourceforge.net/u/mesheets/</uri></author><id>http://sourceforge.net700af871509cbd441c52f8c4ca6a7b314bef8e50</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This patch includes several changes, most of which are related to Linux, though portions may be of use to other platforms.&lt;br /&gt;
* Removed dependency of &amp;lt;LegoUSB/legousbtower.h&amp;gt; when building with USB support for Linux&lt;br /&gt;
* Set some properties so that they can be set from the "make" command line instead of modifying the Makefile, facilitating easier package creation (including DEFAULT_SERIAL_NAME and DEFAULT_USB_NAME).&lt;br /&gt;
* Now that the Lego USB tower driver is included in the kernel, the device is typically either /dev/legousbtower0 or /dev/usb/legousbtower0.  The code files have been updated to reflect these names.&lt;br /&gt;
* If the NQC "-S" argument is in the format "usb[:&amp;lt;device&amp;gt;]" (e.g. usb:/dev/lego0), the program will use /dev/lego0 as the USB device; if the "-S" argument is simply "usb" then the program will check for the presence of DEFAULT_USB_NAME, /dev/legousbtower0, or /dev/usb/legousbtower&lt;br /&gt;
* A "tcp" option has been added as an option to the "-S" argument, performing communication over a TCP connection instead of a serial or USB IR device.  This facilitates the use of NQC with programs such as BrickEmu, an RCX emulator (see &lt;a href="http://hoenicke.ath.cx/rcx/brickemu.html" rel="nofollow"&gt;http://hoenicke.ath.cx/rcx/brickemu.html&lt;/a&gt; ).  The full option format is "tcp[:&amp;lt;host&amp;gt;[:&amp;lt;port&amp;gt;]]"  If port is not provided, the program will default to the "magic" Lego port of 50637, and if the host is not provided, the program will default to localhost.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Patch for gcc 3.4 and AMD64</title><link href="http://sourceforge.net/p/bricxcc/patches/1/" rel="alternate"></link><updated>2005-01-07T05:38:00Z</updated><published>2005-01-07T05:38:00Z</published><author><name>Alexander Holler</name><uri>http://sourceforge.net/u/holler/</uri></author><id>http://sourceforge.netbfec588c6a8a81622b7ba586cc8f32fb05038ec4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Here are some patches needed by gcc 3.4 and/or&lt;br /&gt;
x86_64.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;In Error.h int must be changed to long because pointers&lt;br /&gt;
have different length than ints. Using a long it works at&lt;br /&gt;
least with 32 and 64 bit linux.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;In the Makefile 3 sourcefiles have forgotten. Maybe &lt;br /&gt;
-Wstrict-prototypes and -Wmissing-prototypes should be&lt;br /&gt;
omitted as these options are for C only and gcc 3.4&lt;br /&gt;
throws warnings. (I've disabled USB as I can't test it).&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;In RCX_Image.h Chunk must be public, otherwise it won't&lt;br /&gt;
be seen by other classes.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;And last, in SRecord.cpp I had to change the header&lt;br /&gt;
away from MS's cstring.h to string.h (don't know what&lt;br /&gt;
mem.h contains it isn't needed here) and have to use a&lt;br /&gt;
cast for strncmp.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;PS: Maybe nqc could be put into the cvs.&lt;br /&gt;
PPS: It would be nice if the docs from Dave Baums&lt;br /&gt;
website would be offered here too (at least the three&lt;br /&gt;
PDF-docs guide, manual and ref-card), I would find it&lt;br /&gt;
bad, if they would get lost, if Dave closes his website for&lt;br /&gt;
nqc.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;Alexander&lt;br /&gt;
&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>