Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:p_conrad
dkim
libdkim.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libdkim.patch of Package dkim
diff -ur --new-file libdkim/src/Makefile libdkim-patched/src/Makefile --- libdkim/src/Makefile 2007-02-22 13:40:30.000000000 +0200 +++ libdkim-patched/src/Makefile 2007-05-03 21:41:30.000000000 +0300 @@ -1,15 +1,15 @@ # libdkim makefile for UNIX # -#ifdef LINUX +ifdef LINUX CFLAGS = -c LFLAGS = LIBS = -lcrypto -lresolv -#else +else CFLAGS = -c LFLAGS = LIBS = -lcrypto -#endif +endif INCL = -I /usr/include/openssl/ diff -ur --new-file libdkim/src/dkim.h libdkim-patched/src/dkim.h --- libdkim/src/dkim.h 2007-02-22 15:03:54.000000000 +0200 +++ libdkim-patched/src/dkim.h 2007-05-03 21:43:51.000000000 +0300 @@ -156,6 +156,10 @@ char *DKIM_CALL DKIMGetErrorString( int ErrorCode ); +#ifndef _WIN32 +#include "macros.h" +#endif + #ifdef __cplusplus } #endif Files libdkim/src/libdkim.a and libdkim-patched/src/libdkim.a differ diff -ur --new-file libdkim/src/macros.h libdkim-patched/src/macros.h --- libdkim/src/macros.h 1970-01-01 02:00:00.000000000 +0200 +++ libdkim-patched/src/macros.h 2007-05-03 21:41:47.000000000 +0300 @@ -0,0 +1,24 @@ +/* + * macros.h: Useful macros + * + * Author: + * Dick Porter (dick@ximian.com) + * + * (C) 2002 Ximian, Inc. + */ + +#ifndef _WAPI_MACROS_H_ +#define _WAPI_MACROS_H_ + +#include <sys/types.h> + +#define MAKEWORD(low, high) ((__uint16_t)(((__uint8_t)(low)) | \ + ((__uint16_t)((__uint8_t)(high))) << 8)) +#define MAKELONG(low, high) ((__uint32_t)(((__uint16_t)(low)) | \ + ((__uint32_t)((__uint16_t)(high))) << 16)) +#define LOWORD(i32) ((__uint16_t)((i32) & 0xFFFF)) +#define HIWORD(i32) ((__uint16_t)(((__uint32_t)(i32) >> 16) & 0xFFFF)) +#define LOBYTE(i16) ((__uint8_t)((i16) & 0xFF)) +#define HIBYTE(i16) ((__uint8_t)(((__uint16_t)(i16) >> 8) & 0xFF)) + +#endif /* _WAPI_MACROS_H_ */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor