diff options
Diffstat (limited to 'dev-cpp/commoncpp2/files/1.6.2-autoconf.patch')
l--------- | dev-cpp/commoncpp2/files/1.6.2-autoconf.patch | 139 |
1 files changed, 138 insertions, 1 deletions
diff --git a/dev-cpp/commoncpp2/files/1.6.2-autoconf.patch b/dev-cpp/commoncpp2/files/1.6.2-autoconf.patch index 8ddb051..f3e0abf 120000 --- a/dev-cpp/commoncpp2/files/1.6.2-autoconf.patch +++ b/dev-cpp/commoncpp2/files/1.6.2-autoconf.patch @@ -1 +1,138 @@ -/var/paludis/repositories/gentoo/dev-cpp/commoncpp2/files/1.6.2-autoconf.patch
\ No newline at end of file +/var/paludis/repositories/gentoo/dev-cpp/commoncpp2/files/1.6.2-autoconf.patcht.m4 2008-11-16 15:24:10.000000000 +0100 +@@ -95,6 +95,9 @@ + AC_CHECK_HEADERS([linux/netfilter_ipv4.h linux/netfilter_ipv6.h],,, + [#ifdef HAVE_LIMITS_H + #include <limits.h> ++ #endif ++ #ifdef HAVE_NETINET_IN_H ++ #include <netinet/in.h> + #endif]) + if test "$ac_cv_header_linux_netfilter_ipv4_h" = "yes" && + [ test "$ac_cv_header_linux_netfilter_ipv6_h" = "yes" && +ON} ${PCAP_FLAG} ${SSL_FLAG} + + install : libnessus.la + test -d $(DESTDIR)${libdir} || $(INSTALL_DIR) -m 755 $(DESTDIR)${libdir} +diff -ru nessus-libraries~/nessus.tmpl.in nessus-libraries/nessus.tmpl.in +--- nessus-libraries~/nessus.tmpl.in 2007-01-21 19:49:30.000000000 +0100 ++++ nessus-libraries/nessus.tmpl.in 2007-01-21 20:17:45.000000000 +0100 +@@ -61,6 +61,9 @@ + # + BUILD_PCAP=@BUILD_PCAP@ + ++PCAP_FLAG=@pcap_flag@ ++SSL_FLAG=@ssl@ ++ + + # Some defines you may want to modify + DEFS=@DEFS@ $(DEBUG_SSL) $(USE_CIPHER) $(DEBUG) +============================================ +--- sv7.orig/synthasm.nas ++++ sv7/synthasm.nas +@@ -2225,3 +2225,6 @@ endproc + ; + ; end of synthasm.nas + ; ++%ifidn __OUTPUT_FORMAT__,elf ++section .note.GNU-stack noalloc noexec nowrite progbits ++%endif +/cheats" ]] ; then + for cheat in `find "${PSEMUDIR}/cheats" -maxdepth 1 -type f -printf '%f '`; do + if [[ ! -e "cheats/${cheat}" ]] ; then + ln -s "${PSEMUDIR}/cheats/${cheat}" "cheats/${cheat}" + fi + done + fi + + if [[ -d "${PSEMUDIR}/bios" ]] ; then + for bios in `find "${PSEMUDIR}/bios" -maxdepth 1 -type f -printf '%f '`; do + if [[ ! -e "bios/${bios}" ]] ; then + ln -s "${PSEMUDIR}/bios/${bios}" "bios/${bios}" + fi + done + fi +fi + +# check for bios +if [[ -z "`cd bios && ls`" ]] ; then + # if the bios directory is empty, then ... well ... + echo + echo "*** Put your BIOS file into ~/.epsxe/bios/" + echo " or ePSXe may not work!" + echo +fi + +# execute program (with args) +export LD_PRELOAD="libpthread.so.0:${LD_PRELOAD}" # fix for Bug #26121 +exec ./epsxe "$@" +_event.jaxis.axis == 5) ++ { ++ return (0x1000 + ++ (0x100 * sdl_event.jaxis.which + 0xA)); ++ } ++ } ++ else + { + return (Get_Key ()); + } +--- old/src/gens/util/rom.h 2004-03-14 09:33:06.000000000 -0500 ++++ new/src/gens/util/rom.h 2006-12-30 17:30:58.000000000 -0500 +@@ -52,7 +52,7 @@ + int Detect_Format(char *Name); + + int Get_Rom(void); +- ++int Open_Rom(char *Name); + int Pre_Load_Rom(char *Name); + int Load_Rom_CC(char *Name, int Size); + struct Rom *Load_Bios(char *Name); +--- old/src/gens/util/rom.c 2004-05-18 16:33:59.000000000 -0400 ++++ new/src/gens/util/rom.c 2007-01-05 13:23:45.596482516 -0500 +@@ -99,7 +99,7 @@ + void + Update_Rom_Dir (char *Path) + { +- Get_Dir_From_Path (Path, Rom_Dir); ++ sprintf (Rom_Dir, "%s", Path);; + } + + +@@ -390,11 +390,10 @@ + gint res; + char Name[2048]; + gchar *filename; +- int sys; + + widget = + create_file_chooser_dialog ("Open Rom", GTK_FILE_CHOOSER_ACTION_OPEN); +-// fileselection_set_dir (fd.filesel, Rom_Dir); ++ gtk_file_chooser_set_filename (GTK_FILE_CHOOSER(widget), Rom_Dir); + addRomsFilter (widget); + res = gtk_dialog_run (GTK_DIALOG (widget)); + if (res == GTK_RESPONSE_OK) +@@ -407,6 +406,15 @@ + g_free (filename); + Free_Rom (Game); + ++ return Open_Rom(Name); ++ ++} ++ ++int ++Open_Rom(char *Name) ++{ ++ int sys; ++ + sys = Detect_Format (Name); + + if (sys < 1) +@@ -458,6 +466,7 @@ + break; + } + return -1; ++ + } + + int +--- old/src/gens/gtkui/glade/interface.c 2004-05-19 15:49:28.000000000 -0400 ++++ new/src/gens/gtkui/glade/intep
\ No newline at end of file |