summaryrefslogtreecommitdiff
path: root/netkit-tftp/netkit-tftp-0.17/pack_tftphdr.patch
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-12-09 09:47:41 +0000
committerChris Larson <clarson@kergoth.com>2004-12-09 09:47:41 +0000
commit2c5b8ec6d95cf68650265941530e5ce38c8dd6d9 (patch)
treebf879bea7ef8517ba8c3d1286ef300401d3d484c /netkit-tftp/netkit-tftp-0.17/pack_tftphdr.patch
parent101e2f1623def0a355d20aacb8bd93810703e834 (diff)
Merge oe-devel@oe-devel.bkbits.net:openembedded
into hyperion.kergoth.com:/home/kergoth/code/openembedded 2004/12/09 03:39:39-06:00 kergoth.com!kergoth Break people's builds again.. this time moving the packages into a packages/ subdir to clean things up a bit. BKrev: 41b81f3dvlp3rU7_8MUXLcI8LDdDoA
Diffstat (limited to 'netkit-tftp/netkit-tftp-0.17/pack_tftphdr.patch')
-rw-r--r--netkit-tftp/netkit-tftp-0.17/pack_tftphdr.patch52
1 files changed, 0 insertions, 52 deletions
diff --git a/netkit-tftp/netkit-tftp-0.17/pack_tftphdr.patch b/netkit-tftp/netkit-tftp-0.17/pack_tftphdr.patch
deleted file mode 100644
index ea0fc8663f..0000000000
--- a/netkit-tftp/netkit-tftp-0.17/pack_tftphdr.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-
-#
-# Patch managed by http://www.holgerschurig.de/patcher.html
-#
-
---- netkit-tftp-0.17/include/arpa/tftp.h~pack_tftphdr.patch
-+++ netkit-tftp-0.17/include/arpa/tftp.h
-@@ -10,10 +10,6 @@
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
-- * 3. All advertising materials mentioning features or use of this software
-- * must display the following acknowledgement:
-- * This product includes software developed by the University of
-- * California, Berkeley and its contributors.
- * 4. Neither the name of the University nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
-@@ -30,10 +26,7 @@
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
-- * From: @(#)tftp.h 8.1 (Berkeley) 6/2/93
-- * $Id$
-- *
-- * (Fixed for netkit to have well-defined field sizes)
-+ * @(#)tftp.h 8.1 (Berkeley) 6/2/93
- */
-
- #ifndef _ARPA_TFTP_H
-@@ -54,14 +47,14 @@
- #define ERROR 05 /* error code */
-
- struct tftphdr {
-- u_int16_t th_opcode; /* packet type */
-+ short th_opcode; /* packet type */
- union {
-- u_int16_t tu_block; /* block # */
-- u_int16_t tu_code; /* error code */
-- char tu_stuff[1]; /* request packet stuff */
-- } th_u;
-- char th_data[1]; /* data or error string */
--};
-+ unsigned short tu_block; /* block # */
-+ short tu_code; /* error code */
-+ char tu_stuff[1]; /* request packet stuff */
-+ } __attribute__ ((__packed__)) th_u;
-+ char th_data[1]; /* data or error string */
-+} __attribute__ ((__packed__));
-
- #define th_block th_u.tu_block
- #define th_code th_u.tu_code