summaryrefslogtreecommitdiff
path: root/dev-cpp/commoncpp2/files/1.6.1-gcc42_atomicity.patch
blob: a5e83e72387d75b998a5efe24c7a9e0314337798 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
/var/paludis/repositories/gentoo/dev-cpp/commoncpp2/files/1.6.1-gcc42_atomicity.patch08-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