Remove unused patches from git

epel9
Gregory Hellings 8 years ago
parent d94d892e74
commit fe16fc3d1d

@ -1,20 +0,0 @@
--- dlfcn.h.orig 2009-10-30 15:36:35.357902913 +0100
+++ dlfcn.h 2009-10-30 15:39:51.126664184 +0100
@@ -37,9 +37,17 @@
#define RTLD_DEFAULT 0
#define RTLD_NEXT 0
+#ifdef __cplusplus
+extern "C" {
+#endif
+
void *dlopen ( const char *file, int mode );
int dlclose( void *handle );
void *dlsym ( void *handle, const char *name );
char *dlerror( void );
+#ifdef __cplusplus
+}
+#endif
+
#endif /* DLFCN_H */

@ -1,13 +0,0 @@
--- Makefile.orig 2012-02-16 14:38:27.110914820 +0100
+++ Makefile 2012-02-16 14:38:56.615439410 +0100
@@ -31,8 +31,8 @@
$(CC) -o dlfcn.o -c dlfcn.c -Wall -O3 -fomit-frame-pointer
libdl.a: dlfcn.o
- ar cru libdl.a dlfcn.o
- ranlib libdl.a
+ i686-w64-mingw32-ar cru libdl.a dlfcn.o
+ i686-w64-mingw32-ranlib libdl.a
libdl.dll: dlfcn.o
$(CC) $(SHFLAGS) -shared -o libdl.dll dlfcn.o

@ -1,62 +0,0 @@
diff -ruNp dlfcn-win32-r11/config.mak dlfcn-win32-r11.new/config.mak
--- dlfcn-win32-r11/config.mak 1969-12-31 21:00:00.000000000 -0300
+++ dlfcn-win32-r11.new/config.mak 2009-01-02 12:08:15.000000000 -0200
@@ -0,0 +1,9 @@
+# Automatically generated by configure
+PREFIX=/usr/i686-w64-mingw32/sys-root/mingw
+libdir=/usr/i686-w64-mingw32/sys-root/mingw/lib
+incdir=/usr/i686-w64-mingw32/sys-root/mingw/include
+CC=i686-w64-mingw32-gcc
+BUILD_SHARED=yes
+BUILD_STATIC=yes
+BUILD_MSVC=no
+DO_STRIP=yes
diff -ruNp dlfcn-win32-r11/configure dlfcn-win32-r11.new/configure
--- dlfcn-win32-r11/configure 2009-01-02 11:54:38.000000000 -0200
+++ dlfcn-win32-r11.new/configure 2009-01-02 12:35:30.000000000 -0200
@@ -97,6 +97,45 @@ for opt do
--make=*)
make="$optval"
;;
+ --enable-shared=*)
+ shared="$optval"
+ ;;
+ --enable-static=*)
+ static="$optval"
+ ;;
+ --enable-strip=*)
+ strip="$optval"
+ ;;
+ --cache-file=*)
+ ;;
+ --host=*)
+ ;;
+ --build=*)
+ ;;
+ --target=*)
+ ;;
+ --exec-prefix=*)
+ ;;
+ --bindir=*)
+ ;;
+ --sbindir=*)
+ ;;
+ --sysconfdir=*)
+ ;;
+ --datadir=*)
+ ;;
+ --includedir=*)
+ ;;
+ --libexecdir=*)
+ ;;
+ --localstatedir=*)
+ ;;
+ --sharedstatedir=*)
+ ;;
+ --mandir=*)
+ ;;
+ --infodir=*)
+ ;;
--enable-?*|--disable-?*)
eval `echo "$opt" | sed 's/--/action=/;s/-/ option=/;s/-/_/g'`
echo "$CMDLINE_SELECT" | grep -q "^ *$option\$" || die_unknown $opt
Loading…
Cancel
Save