summaryrefslogtreecommitdiffstats
path: root/lang/librep2/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'lang/librep2/files/patch-ab')
-rw-r--r--lang/librep2/files/patch-ab14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/librep2/files/patch-ab b/lang/librep2/files/patch-ab
new file mode 100644
index 0000000..ba6ac1b
--- /dev/null
+++ b/lang/librep2/files/patch-ab
@@ -0,0 +1,14 @@
+--- src/numbers.c 2000/07/25 10:40:48 1.1
++++ src/numbers.c 2000/07/25 10:42:00
+@@ -80,6 +80,11 @@
+ # endif
+ #endif
+
++#ifdef __FreeBSD__
++# define LONG_LONG_MIN LONG_MIN
++# define LONG_LONG_MAX LONG_MAX
++#endif
++
+ typedef struct {
+ repv car;
+ #ifdef HAVE_GMP
OpenPOWER on IntegriCloud