Ticket #64624: debian_fix_2.patch
File debian_fix_2.patch, 2.4 KB (added by bradleyCPA (B. Holder), 3 years ago) |
---|
-
configure.ac
old new for first in size_t int; do 146 146 #include <sys/types.h> 147 147 #endif 148 148 #include <unistd.h> 149 #include <stdio.h> 149 150 #ifdef HAVE_GRP_H 150 151 #include <grp.h> 151 152 #endif -
libfakeroot.c
old new extern int unsetenv (const char *name); 198 205 #undef __lxstat64 199 206 #undef _FILE_OFFSET_BITS 200 207 208 209 #ifndef AT_EMPTY_PATH 210 #define AT_EMPTY_PATH 0 211 #endif 212 213 #ifndef AT_NO_AUTOMOUNT 214 #define AT_NO_AUTOMOUNT 0 215 #endif 216 201 217 /* 202 218 // next_wrap_st: 203 219 // this structure is used in next_wrap, which is defined in -
wrapawk_macosx
old new BEGIN{ 46 46 argtype=$3; 47 47 argname=$4; 48 48 MACRO=$5; 49 argtype_def=$6 50 if(!argtype_def) { 51 argtype_def = argtype 52 } 49 53 if(MACRO){ 50 54 print "extern " ret " MY_DEF(" name ")" argtype " __attribute__((visibility(\"hidden\")));" > headerfile; 51 55 print "INTERPOSE(MY_DEF(" name "_RAW)," name "_RAW);" > structfile; 52 56 print "#undef " name > deffile 53 57 print "#define " name " MY_DEF(" name "_RAW)" > deffile 54 58 55 print "extern " ret, name, argtype ";"> tmpffile;59 print "extern " ret, name, argtype_def ";" > tmpffile; 56 60 print "static __inline__ " ret " NEXT_" MACRO "_NOARG " argtype " __attribute__((always_inline));" > tmpffile; 57 61 print "static __inline__ " ret " NEXT_" MACRO "_NOARG " argtype " {" > tmpffile; 58 62 print " return " name, argname ";" > tmpffile; 59 63 print "}" > tmpffile; 60 64 print "" > tmpffile; 61 65 } else { 62 print "extern " ret " my_" name, argtype " __attribute__((visibility(\"hidden\")));" > headerfile;66 print "extern " ret " my_" name, argtype_def " __attribute__((visibility(\"hidden\")));" > headerfile; 63 67 print "#undef " name > structfile; 64 68 print "INTERPOSE(my_" name "," name ");" > structfile; 65 69 print "#define " name " my_" name > structfile 66 70 print "#define " name " my_" name > deffile 67 71 68 print "extern " ret, name, argtype ";"> tmpffile;72 print "extern " ret, name, argtype_def ";" > tmpffile; 69 73 if(argname){ 70 74 print "static __inline__ " ret " next_" name, argtype " __attribute__((always_inline));" > tmpffile; 71 75 print "static __inline__ " ret " next_" name, argtype " {" > tmpffile;