[BACK]Return to patch-ae CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / comms / jpilot / patches

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /pkgsrc/comms/jpilot/patches/Attic/patch-ae between version 1.4 and 1.5

version 1.4, 2003/01/10 04:34:20 version 1.5, 2005/09/22 12:07:29
Line 1 
Line 1 
 $NetBSD$  $NetBSD$
   
 --- configure.orig      Tue Feb  6 20:31:18 2001  ISO C90 does not allow declarations after code.
 +++ configure   Sat Nov 30 13:49:01 2002  
 @@ -3831,6 +3831,25 @@  --- address_gui.c.orig  Sun Feb 22 20:34:23 2004
  rm -f conftest*  +++ address_gui.c       Thu Sep 22 13:59:00 2005
     LIBS="$save_LIBS"  @@ -1426,14 +1426,16 @@ void cb_dialer(GtkWidget *widget, gpoint
       char *Px;
       char number[100];
       char ext[100];
   -
   -   number[0]=ext[0]='\0';
   -   text=data;
    #ifdef ENABLE_GTK2
       GtkTextIter    start_iter;
       GtkTextIter    end_iter;
       GtkTextBuffer *text_buffer;
   +#endif
   
 +   if test "x$have_dlopen" != "yes"; then  +   number[0]=ext[0]='\0';
 +      cat > conftest.$ac_ext <<EOF  +   text=data;
 +#line 3840 "configure"  
 +#include "confdefs.h"  
 +#include <dlfcn.h>  
 +int main() {  
 +dlopen("huh",0);  
 +; return 0; }  
 +EOF  
 +if { (eval echo configure:3847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  
 +  rm -rf conftest*  
 +  have_dlopen=yes  
 +else  
 +  echo "configure: failed program was:" >&5  
 +  cat conftest.$ac_ext >&5  
 +fi  
 +rm -f conftest*  
 +   fi  
 +  +
     if test "x$have_dlopen" = "xyes"; then  +#ifdef ENABLE_GTK2
        cat >> confdefs.h <<\EOF      text_buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(text));
  #define ENABLE_PLUGINS 1      gtk_text_buffer_get_bounds(GTK_TEXT_BUFFER(text),&start_iter,&end_iter);
 @@ -3866,7 +3885,7 @@      str = gtk_text_buffer_get_text(GTK_TEXT_BUFFER(text),&start_iter,&end_iter,TRUE);
  # Check whether --with-gtk-prefix or --without-gtk-prefix was given.  
  if test "${with_gtk_prefix+set}" = set; then  
    withval="$with_gtk_prefix"  
 -  gtk_config_prefix="$withval"  
 +  gtk_config_prefix=""  
  else  
    gtk_config_prefix=""  
  fi  

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

CVSweb <webmaster@jp.NetBSD.org>