Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/gnome
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv13707/main/finkinfo/gnome

Modified Files:
      Tag: pangocairo-branch
        gdm.patch 
Log Message:
fix gdm patch

Index: gdm.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/gnome/gdm.patch,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -d -r1.1 -r1.1.2.1
--- gdm.patch   20 Jan 2006 20:25:02 -0000      1.1
+++ gdm.patch   10 Mar 2007 19:34:51 -0000      1.1.2.1
@@ -1,30 +1,31 @@
-diff -Nurd -x'*~' gdm-2.8.0.5.orig/daemon/xdmcp.c gdm-2.8.0.5/daemon/xdmcp.c
---- gdm-2.8.0.5.orig/daemon/xdmcp.c    2005-09-14 21:51:18.000000000 -0400
-+++ gdm-2.8.0.5/daemon/xdmcp.c 2005-11-03 02:16:29.000000000 -0500
-@@ -2467,6 +2467,13 @@
+diff -uNr gdm-2.17.8/daemon/xdmcp.c gdm-2.17.8-new/daemon/xdmcp.c
+--- gdm-2.17.8/daemon/xdmcp.c  2007-02-26 03:59:35.000000000 -0500
++++ gdm-2.17.8-new/daemon/xdmcp.c      2007-03-10 14:32:01.000000000 -0500
+@@ -2658,6 +2658,14 @@
      }
  }
  
 +#ifdef HAVE_TCPWRAPPERS
-+      
-+/* avoids a warning, my tcpd.h file doesn't include this prototype, even
-+ * though the library does include the function and the manpage mentions it
-+ */
-+extern int hosts_ctl (char *daemon, char *client_name, char *client_addr, 
char *client_user);
++    /*
++     * Avoids a warning, my tcpd.h file doesn't include this prototype, even
++     * though the library does include the function and the manpage mentions 
it
++     */
++    extern int hosts_ctl (char *daemon, char *client_name,
++                          char *client_addr, char *client_user);
 +#endif
  
  static gboolean
  gdm_xdmcp_host_allow (
-@@ -2478,12 +2485,6 @@
-                    )
+@@ -2670,12 +2678,6 @@
  {
  #ifdef HAVE_TCPWRAPPERS
--      
--    /* avoids a warning, my tcpd.h file doesn't include this prototype, even
+       
+-    /*
+-     * Avoids a warning, my tcpd.h file doesn't include this prototype, even
 -     * though the library does include the function and the manpage mentions 
it
 -     */
--    extern int hosts_ctl (char *daemon, char *client_name, char *client_addr, 
char *client_user);
--
+-    extern int hosts_ctl (char *daemon, char *client_name,
+-                          char *client_addr, char *client_user);
+ 
      GdmHostent *client_he;
      char *client;
-     gboolean ret;


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to