From fe16fc3d1dad56acddf7cca033f29042a6ca81fd Mon Sep 17 00:00:00 2001 From: Gregory Hellings Date: Tue, 13 Jun 2017 14:48:09 -0500 Subject: [PATCH] Remove unused patches from git --- dlfcn-fix-cplusplus-linkage.patch | 20 ---------- dlfcn-fix-static-lib.patch | 13 ------- dlfcn_configure.patch | 62 ------------------------------- 3 files changed, 95 deletions(-) delete mode 100644 dlfcn-fix-cplusplus-linkage.patch delete mode 100644 dlfcn-fix-static-lib.patch delete mode 100644 dlfcn_configure.patch diff --git a/dlfcn-fix-cplusplus-linkage.patch b/dlfcn-fix-cplusplus-linkage.patch deleted file mode 100644 index 05684a9..0000000 --- a/dlfcn-fix-cplusplus-linkage.patch +++ /dev/null @@ -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 */ diff --git a/dlfcn-fix-static-lib.patch b/dlfcn-fix-static-lib.patch deleted file mode 100644 index 28b9ca4..0000000 --- a/dlfcn-fix-static-lib.patch +++ /dev/null @@ -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 diff --git a/dlfcn_configure.patch b/dlfcn_configure.patch deleted file mode 100644 index 2bfb062..0000000 --- a/dlfcn_configure.patch +++ /dev/null @@ -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