You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

76 lines
2.6 KiB

# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../trickle/trickle-1.07-include_netdb.patch
# Copyright (C) 2011 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
Description: Fix error: two or more data types in declaration specifiers
Origin: Fedora Project
http://pkgs.fedoraproject.org/gitweb/?p=trickle.git;a=blob_plain;f=trickle-1.07-include_netdb.patch;hb=HEAD
diff -up trickle-1.06/client.c.include_netdb trickle-1.06/client.c
--- trickle-1.06/client.c.include_netdb 2003-05-09 04:16:42.000000000 +0200
+++ trickle-1.06/client.c 2008-06-07 17:16:50.000000000 +0200
@@ -6,7 +6,7 @@
*
* $Id: client.c,v 1.14 2003/05/09 02:16:42 marius Exp $
*/
-
+#include <netdb.h>
#include <sys/types.h>
#ifdef HAVE_CONFIG_H
diff -up trickle-1.06/tricklectl.c.include_netdb trickle-1.06/tricklectl.c
--- trickle-1.06/tricklectl.c.include_netdb 2003-06-03 01:13:28.000000000 +0200
+++ trickle-1.06/tricklectl.c 2008-06-07 17:18:01.000000000 +0200
@@ -6,7 +6,7 @@
*
* $Id: tricklectl.c,v 1.4 2003/06/02 23:13:28 marius Exp $
*/
-
+#include <netdb.h>
#include <sys/types.h>
#ifdef HAVE_CONFIG_H
diff -up trickle-1.06/trickled.c.include_netdb trickle-1.06/trickled.c
--- trickle-1.06/trickled.c.include_netdb 2003-05-09 04:16:42.000000000 +0200
+++ trickle-1.06/trickled.c 2008-06-07 17:16:34.000000000 +0200
@@ -13,6 +13,7 @@
* initial spike
*/
+#include <netdb.h>
#include <sys/types.h>
#ifdef HAVE_CONFIG_H
--- trickle-1.07/trickledu.c.old 2008-08-29 04:19:47.000000000 +0300
+++ trickle-1.07/trickledu.c 2008-08-29 04:20:37.000000000 +0300
@@ -7,6 +7,7 @@
* $Id: trickledu.c,v 1.16 2004/02/13 06:11:21 marius Exp $
*/
+#include <netdb.h>
#include <sys/types.h>
#ifdef HAVE_CONFIG_H
diff -up trickle-1.06/trickle-overload.c.include_netdb trickle-1.06/trickle-overload.c
--- trickle-1.06/trickle-overload.c.include_netdb 2003-06-03 01:13:28.000000000 +0200
+++ trickle-1.06/trickle-overload.c 2008-06-07 17:21:51.000000000 +0200
@@ -10,6 +10,7 @@
/* Ick. linux sucks. */
#define _GNU_SOURCE
+#include <netdb.h>
#include <sys/types.h>
#ifdef HAVE_CONFIG_H