summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'private/app-arch/reprepro/files')
-rw-r--r--private/app-arch/reprepro/files/reprepro-2.2.4-db4.5.patch51
-rw-r--r--private/app-arch/reprepro/files/reprepro-2.2.4-gpgme.patch22
2 files changed, 0 insertions, 73 deletions
diff --git a/private/app-arch/reprepro/files/reprepro-2.2.4-db4.5.patch b/private/app-arch/reprepro/files/reprepro-2.2.4-db4.5.patch
deleted file mode 100644
index 1b8a423..0000000
--- a/private/app-arch/reprepro/files/reprepro-2.2.4-db4.5.patch
+++ /dev/null
@@ -1,51 +0,0 @@
---- a/configure.ac
-+++ b/configure.ac
-@@ -31,6 +31,9 @@ AC_ARG_WITH(libdb,
- 4.4)
- DB_WANT_VERSION=4.4
- ;;
-+ 4.5)
-+ DB_WANT_VERSION=4.5
-+ ;;
- ?|?.?)
- AC_MSG_ERROR([Unknown --with-libdb argument $withval])
- ;;
-@@ -71,6 +74,12 @@ elif test "x$DB_VERSION_MAJOR" = "x4" -a
- elif test "$DB_WANT_VERSION" != "4.4" ; then
- AC_MSG_ERROR([Found libdb major version $DB_VERSION_MAJOR.$DB_VERSION_MINOR, need $DB_WANT_VERSION])
- fi
-+elif test "x$DB_VERSION_MAJOR" = "x4" -a "x$DB_VERSION_MINOR" = "x5" ; then
-+ if test "$DB_WANT_VERSION" = "any" ; then
-+ DB_WANT_VERSION=4.5
-+ elif test "$DB_WANT_VERSION" != "4.5" ; then
-+ AC_MSG_ERROR([Found libdb major version $DB_VERSION_MAJOR.$DB_VERSION_MINOR, need $DB_WANT_VERSION])
-+ fi
- else
- AC_MSG_ERROR([Unsupported libdb major $DB_VERSION_MAJOR minor $DB_VERSION_MINOR
- Only 4.3 (stronly recommended) or 3.2 or 4.4 are supported])
-@@ -78,6 +87,12 @@ fi
-
- # now we have a header with the expected version, check for the library:
- case "$DB_WANT_VERSION" in
-+4.5)
-+ AC_CHECK_LIB(db-4.5,db_create,[dnl
-+ AC_DEFINE_UNQUOTED(AS_TR_CPP(LIBDB_VERSION),45)
-+ DBLIBS="-ldb-4.5 $DBLIBS"
-+ ],[AC_MSG_ERROR(["no libdb-4.5 found"])],[$DBLIBS])
-+;;
- 4.4)
- AC_CHECK_LIB(db-4.4,db_create,[dnl
- AC_DEFINE_UNQUOTED(AS_TR_CPP(LIBDB_VERSION),44)
---- a/globals.h
-+++ b/globals.h
-@@ -40,7 +40,9 @@ enum config_option_owner { CONFIG_OWNER
- CONFIG_OWNER_FILE,
- CONFIG_OWNER_ENVIRONMENT,
- CONFIG_OWNER_CMDLINE};
--#if LIBDB_VERSION == 44
-+#if LIBDB_VERSION == 45
-+#define DB_OPEN(database,filename,name,type,flags) database->open(database,NULL,filename,name,type,flags,0664)
-+#elif LIBDB_VERSION == 44
- #define DB_OPEN(database,filename,name,type,flags) database->open(database,NULL,filename,name,type,flags,0664)
- #elif LIBDB_VERSION == 43
- #define DB_OPEN(database,filename,name,type,flags) database->open(database,NULL,filename,name,type,flags,0664)
diff --git a/private/app-arch/reprepro/files/reprepro-2.2.4-gpgme.patch b/private/app-arch/reprepro/files/reprepro-2.2.4-gpgme.patch
deleted file mode 100644
index f0dd393..0000000
--- a/private/app-arch/reprepro/files/reprepro-2.2.4-gpgme.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/configure.ac
-+++ b/configure.ac
-@@ -120,7 +120,7 @@ AC_SUBST([DBCPPFLAGS])
- AC_CHECK_LIB(z,gzopen,,[AC_MSG_ERROR(["no zlib found"])],)
- AC_CHECK_LIB(gpg-error,gpg_strsource,,[AC_MSG_ERROR(["no libgpg-error found"])],)
- AC_CHECK_LIB(gpgme,gpgme_get_protocol_name,,[AC_MSG_ERROR(["no libgpgme found (need at least 0.4.1)"])],)
--AC_CHECK_HEADER(gpgme.h,,[AC_MSG_ERROR(["no gpgme.h found"])])
-+AC_CHECK_HEADER(gpgme/gpgme.h,,[AC_MSG_ERROR(["no gpgme.h found"])])
-
- AC_ARG_WITH(libbz2,
- [ --with-libbz2=path|yes|no Give path to prefix libbz2 was installed with],[dnl
---- a/signature.c
-+++ b/signature.c
-@@ -25,7 +25,7 @@
- #include <string.h>
- #include <malloc.h>
- #include <fcntl.h>
--#include <gpgme.h>
-+#include <gpgme/gpgme.h>
- #include "error.h"
- #include "ignore.h"
- #include "mprintf.h"